From 5617bf0bf1827733a9118a0f3ca866cf5353b1e0 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Mon, 5 Aug 2013 15:57:17 +0200 Subject: Use void for functions with no parameters --- core/net_crypto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/net_crypto.h') diff --git a/core/net_crypto.h b/core/net_crypto.h index 0e7284c9..66634d45 100644 --- a/core/net_crypto.h +++ b/core/net_crypto.h @@ -110,7 +110,7 @@ int is_cryptoconnected(int crypt_connection_id); /* Generate our public and private keys Only call this function the first time the program starts. */ -void new_keys(); +void new_keys(void); /* save the public and private keys to the keys array Length must be crypto_box_PUBLICKEYBYTES + crypto_box_SECRETKEYBYTES */ @@ -122,10 +122,10 @@ void load_keys(uint8_t * keys); /* run this to (re)initialize net_crypto sets all the global connection variables to their default values. */ -void initNetCrypto(); +void initNetCrypto(void); /* main loop */ -void doNetCrypto(); +void doNetCrypto(void); #ifdef __cplusplus } -- cgit v1.2.3