From 378a483bd88de4c91e34e0646e90b92cd2d03ec9 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 14 Jun 2009 08:06:06 +0000 Subject: Convert K&R-style function definitions to function prototypes. --- ax25/ax25d.c | 6 +++--- ax25/axgetput/axgetput.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'ax25') diff --git a/ax25/ax25d.c b/ax25/ax25d.c index 638a8a9..2bbf388 100644 --- a/ax25/ax25d.c +++ b/ax25/ax25d.c @@ -1,5 +1,5 @@ /* - * $Id: ax25d.c,v 1.5 2007/01/23 13:40:01 ralf Exp $ + * $Id: ax25d.c,v 1.6 2009/06/14 08:06:06 ralf Exp $ * * This is my version of axl.c, written for the LBBS code to make it * compatable with the kernel AX25 driver. It appears to work, with @@ -218,7 +218,7 @@ static int maxfd = -1; /*--------------------------------------------------------------------------*/ -void update_maxfd() { +void update_maxfd(void) { struct axlist *paxl; FD_ZERO(&fdread); @@ -233,7 +233,7 @@ void update_maxfd() { /*--------------------------------------------------------------------------*/ -void err_config() { +void err_config(void) { if (AXL == NULL) { if (Logging) syslog(LOG_ERR, "config file reload error, exiting"); 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(); -- cgit v1.2.3