diff packet.c @ 1276:9169e4e7cbee

fix empty C prototypes
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 16:30:31 +0100
parents 2bb4c662d1c2
children b28624698130 06d52bcb8094
line wrap: on
line diff
--- a/packet.c	Fri Jan 01 09:46:09 2016 +0100
+++ b/packet.c	Fri Jan 01 16:30:31 2016 +0100
@@ -36,11 +36,11 @@
 #include "channel.h"
 #include "netio.h"
 
-static int read_packet_init();
+static int read_packet_init(void);
 static void make_mac(unsigned int seqno, const struct key_context_directional * key_state,
 		buffer * clear_buf, unsigned int clear_len, 
 		unsigned char *output_mac);
-static int checkmac();
+static int checkmac(void);
 
 /* For exact details see http://www.zlib.net/zlib_tech.html
  * 5 bytes per 16kB block, plus 6 bytes for the stream.