comparison 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
comparison
equal deleted inserted replaced
1275:d49bda490798 1276:9169e4e7cbee
34 #include "service.h" 34 #include "service.h"
35 #include "auth.h" 35 #include "auth.h"
36 #include "channel.h" 36 #include "channel.h"
37 #include "netio.h" 37 #include "netio.h"
38 38
39 static int read_packet_init(); 39 static int read_packet_init(void);
40 static void make_mac(unsigned int seqno, const struct key_context_directional * key_state, 40 static void make_mac(unsigned int seqno, const struct key_context_directional * key_state,
41 buffer * clear_buf, unsigned int clear_len, 41 buffer * clear_buf, unsigned int clear_len,
42 unsigned char *output_mac); 42 unsigned char *output_mac);
43 static int checkmac(); 43 static int checkmac(void);
44 44
45 /* For exact details see http://www.zlib.net/zlib_tech.html 45 /* For exact details see http://www.zlib.net/zlib_tech.html
46 * 5 bytes per 16kB block, plus 6 bytes for the stream. 46 * 5 bytes per 16kB block, plus 6 bytes for the stream.
47 * We might allocate 5 unnecessary bytes here if it's an 47 * We might allocate 5 unnecessary bytes here if it's an
48 * exact multiple. */ 48 * exact multiple. */