summaryrefslogtreecommitdiff
path: root/core/DHT.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/DHT.h
parent5e43dc7bd8c790a43c22fd6ab47e9dbef9205186 (diff)
Use void for functions with no parameters
Diffstat (limited to 'core/DHT.h')
-rw-r--r--core/DHT.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/DHT.h b/core/DHT.h
index 36670ed5..0edaebf3 100644
--- a/core/DHT.h
+++ b/core/DHT.h
@@ -58,7 +58,7 @@ int DHT_delfriend(uint8_t *client_id);
58IP_Port DHT_getfriendip(uint8_t *client_id); 58IP_Port DHT_getfriendip(uint8_t *client_id);
59 59
60/* Run this function at least a couple times per second (It's the main loop) */ 60/* Run this function at least a couple times per second (It's the main loop) */
61void doDHT(); 61void doDHT(void);
62 62
63/* if we receive a DHT packet we call this function so it can be handled. 63/* if we receive a DHT packet we call this function so it can be handled.
64 return 0 if packet is handled correctly. 64 return 0 if packet is handled correctly.
@@ -90,7 +90,7 @@ int friend_ips(IP_Port *ip_portlist, uint8_t *friend_id);
90/* SAVE/LOAD functions */ 90/* SAVE/LOAD functions */
91 91
92/* get the size of the DHT (for saving) */ 92/* get the size of the DHT (for saving) */
93uint32_t DHT_size(); 93uint32_t DHT_size(void);
94 94
95/* save the DHT in data where data is an array of size DHT_size() */ 95/* save the DHT in data where data is an array of size DHT_size() */
96void DHT_save(uint8_t *data); 96void DHT_save(uint8_t *data);