diff common-kex.c @ 1276:9169e4e7cbee

fix empty C prototypes
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 16:30:31 +0100
parents 52a456a3add0
children 750ec4ec4cbe b28624698130
line wrap: on
line diff
--- a/common-kex.c	Fri Jan 01 09:46:09 2016 +0100
+++ b/common-kex.c	Fri Jan 01 16:30:31 2016 +0100
@@ -38,13 +38,13 @@
 #include "ecc.h"
 #include "crypto_desc.h"
 
-static void kexinitialise();
-static void gen_new_keys();
+static void kexinitialise(void);
+static void gen_new_keys(void);
 #ifndef DISABLE_ZLIB
-static void gen_new_zstream_recv();
-static void gen_new_zstream_trans();
+static void gen_new_zstream_recv(void);
+static void gen_new_zstream_trans(void);
 #endif
-static void read_kex_algos();
+static void read_kex_algos(void);
 /* helper function for gen_new_keys */
 static void hashkeys(unsigned char *out, unsigned int outlen, 
 		const hash_state * hs, const unsigned char X);