From 6aea263a2ef5d13b7fb750401d30f7a41e9c5229 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 14 Jun 2009 08:08:26 +0000 Subject: Convert K&R-style function definitions to function prototypes. --- ax25ipd/kiss.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'ax25ipd/kiss.c') diff --git a/ax25ipd/kiss.c b/ax25ipd/kiss.c index a93b63e..ae580ce 100644 --- a/ax25ipd/kiss.c +++ b/ax25ipd/kiss.c @@ -44,7 +44,7 @@ int param_tbl_top; * Initialize the KISS variables */ -void kiss_init() +void kiss_init(void) { ifptr = iframe; ifcount = 0; @@ -60,9 +60,7 @@ void kiss_init() * frame has been assembled. */ -void assemble_kiss(buf, l) -unsigned char *buf; -int l; +void assemble_kiss(unsigned char *buf, int l) { int i; unsigned char c; @@ -114,10 +112,7 @@ int l; } /* convert a standard AX25 frame into a kiss frame */ -void send_kiss(type, buf, l) -unsigned char type; -unsigned char *buf; -int l; +void send_kiss(unsigned char type, unsigned char *buf, int l) { #define KISSEMIT(x) if(ofcount= PTABLE_SIZE) { fprintf(stderr, "param table is full; entry ignored.\n"); @@ -173,7 +166,7 @@ int v; } /* dump the contents of the parameter table */ -void dump_params() +void dump_params(void) { int i; @@ -186,7 +179,7 @@ void dump_params() } /* send the parameters to the TNC */ -void send_params() +void send_params(void) { int i; unsigned char p, v; -- cgit v1.2.3