summaryrefslogtreecommitdiff
path: root/core/net_crypto.h
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2013-08-05 15:57:17 +0200
committerFlorian Hahn <flo@fhahn.com>2013-08-05 15:57:17 +0200
commit5617bf0bf1827733a9118a0f3ca866cf5353b1e0 (patch)
tree0039de12cc0d6576930a45068af9fdfc63063128 /core/net_crypto.h
parent5e43dc7bd8c790a43c22fd6ab47e9dbef9205186 (diff)
Use void for functions with no parameters
Diffstat (limited to 'core/net_crypto.h')
-rw-r--r--core/net_crypto.h6
1 files changed, 3 insertions, 3 deletions
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);
110 110
111/* Generate our public and private keys 111/* Generate our public and private keys
112 Only call this function the first time the program starts. */ 112 Only call this function the first time the program starts. */
113void new_keys(); 113void new_keys(void);
114 114
115/* save the public and private keys to the keys array 115/* save the public and private keys to the keys array
116 Length must be crypto_box_PUBLICKEYBYTES + crypto_box_SECRETKEYBYTES */ 116 Length must be crypto_box_PUBLICKEYBYTES + crypto_box_SECRETKEYBYTES */
@@ -122,10 +122,10 @@ void load_keys(uint8_t * keys);
122 122
123/* run this to (re)initialize net_crypto 123/* run this to (re)initialize net_crypto
124 sets all the global connection variables to their default values. */ 124 sets all the global connection variables to their default values. */
125void initNetCrypto(); 125void initNetCrypto(void);
126 126
127/* main loop */ 127/* main loop */
128void doNetCrypto(); 128void doNetCrypto(void);
129 129
130#ifdef __cplusplus 130#ifdef __cplusplus
131} 131}