diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2016-01-01 16:30:31 +0100 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-16 22:41:20 +0800 |
commit | 3e20c442de30c583b1728500c782641f88dedbfa (patch) | |
tree | cd4fcdf5ab851bde43daea855e58d49db5598dde /kex.h | |
parent | af87369cb32d4e967c389cce35f508817682f077 (diff) |
fix empty C prototypes
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -29,40 +29,40 @@ #include "algo.h" #include "signkey.h" -void send_msg_kexinit(); -void recv_msg_kexinit(); -void send_msg_newkeys(); -void recv_msg_newkeys(); -void kexfirstinitialise(); +void send_msg_kexinit(void); +void recv_msg_kexinit(void); +void send_msg_newkeys(void); +void recv_msg_newkeys(void); +void kexfirstinitialise(void); -struct kex_dh_param *gen_kexdh_param(); +struct kex_dh_param *gen_kexdh_param(void); void free_kexdh_param(struct kex_dh_param *param); void kexdh_comb_key(struct kex_dh_param *param, mp_int *dh_pub_them, sign_key *hostkey); #ifdef DROPBEAR_ECDH -struct kex_ecdh_param *gen_kexecdh_param(); +struct kex_ecdh_param *gen_kexecdh_param(void); void free_kexecdh_param(struct kex_ecdh_param *param); void kexecdh_comb_key(struct kex_ecdh_param *param, buffer *pub_them, sign_key *hostkey); #endif #ifdef DROPBEAR_CURVE25519 -struct kex_curve25519_param *gen_kexcurve25519_param(); +struct kex_curve25519_param *gen_kexcurve25519_param(void); void free_kexcurve25519_param(struct kex_curve25519_param *param); void kexcurve25519_comb_key(struct kex_curve25519_param *param, buffer *pub_them, sign_key *hostkey); #endif #ifndef DISABLE_ZLIB -int is_compress_trans(); -int is_compress_recv(); +int is_compress_trans(void); +int is_compress_recv(void); #endif -void recv_msg_kexdh_init(); /* server */ +void recv_msg_kexdh_init(void); /* server */ -void send_msg_kexdh_init(); /* client */ -void recv_msg_kexdh_reply(); /* client */ +void send_msg_kexdh_init(void); /* client */ +void recv_msg_kexdh_reply(void); /* client */ struct KEXState { |