summaryrefslogtreecommitdiffstats
path: root/ax25/axgetput/axgetput.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-06-14 08:06:06 +0000
committerRalf Baechle <ralf@linux-mips.org>2009-06-14 08:06:06 +0000
commit378a483bd88de4c91e34e0646e90b92cd2d03ec9 (patch)
tree2be26af83bdeff44360c6e7b93477d0e189a96cc /ax25/axgetput/axgetput.c
parent5f31bca972deca185371225aed43a0ded1dc73f5 (diff)
Convert K&R-style function definitions to function prototypes.
Diffstat (limited to 'ax25/axgetput/axgetput.c')
-rw-r--r--ax25/axgetput/axgetput.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ax25/axgetput/axgetput.c b/ax25/axgetput/axgetput.c
index 6a425ca..d0cef19 100644
--- a/ax25/axgetput/axgetput.c
+++ b/ax25/axgetput/axgetput.c
@@ -1,4 +1,4 @@
-static const char rcsid[] = "@(#) $Id: axgetput.c,v 1.2 2007/01/23 13:40:01 ralf Exp $";
+static const char rcsid[] = "@(#) $Id: axgetput.c,v 1.3 2009/06/14 08:06:06 ralf Exp $";
/*
* This is axgetput
@@ -63,7 +63,7 @@ static struct revision revision;
/*---------------------------------------------------------------------------*/
-static void set_tty_flags()
+static void set_tty_flags(void)
{
struct termios termios;
struct stat statbuf;
@@ -94,7 +94,7 @@ static void set_tty_flags()
/*---------------------------------------------------------------------------*/
-static void restore_tty_flags()
+static void restore_tty_flags(void)
{
if (fdin_is_pipe)
return;
@@ -133,7 +133,7 @@ static void eol_convention(int state_should)
/*---------------------------------------------------------------------------*/
-static void restore_defaults()
+static void restore_defaults(void)
{
eol_convention(0);
restore_tty_flags();