summaryrefslogtreecommitdiffhomepage
path: root/packet.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2016-01-01 16:30:31 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:20 +0800
commit3e20c442de30c583b1728500c782641f88dedbfa (patch)
treecd4fcdf5ab851bde43daea855e58d49db5598dde /packet.c
parentaf87369cb32d4e967c389cce35f508817682f077 (diff)
fix empty C prototypes
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index f827ab8..924554d 100644
--- a/packet.c
+++ b/packet.c
@@ -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.