summaryrefslogtreecommitdiff
path: root/core/network.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/network.h
parent5e43dc7bd8c790a43c22fd6ab47e9dbef9205186 (diff)
Use void for functions with no parameters
Diffstat (limited to 'core/network.h')
-rw-r--r--core/network.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/network.h b/core/network.h
index a7559ebe..d246a9d1 100644
--- a/core/network.h
+++ b/core/network.h
@@ -90,11 +90,11 @@ typedef struct {
90} ADDR; 90} ADDR;
91 91
92/* returns current time in milleseconds since the epoch. */ 92/* returns current time in milleseconds since the epoch. */
93uint64_t current_time(); 93uint64_t current_time(void);
94 94
95/* return a random number 95/* return a random number
96 NOTE: this function should probably not be used where cryptographic randomness is absolutely necessary */ 96 NOTE: this function should probably not be used where cryptographic randomness is absolutely necessary */
97uint32_t random_int(); 97uint32_t random_int(void);
98 98
99/* Basic network functions: */ 99/* Basic network functions: */
100 100
@@ -115,7 +115,7 @@ int receivepacket(IP_Port *ip_port, uint8_t *data, uint32_t *length);
115int init_networking(IP ip, uint16_t port); 115int init_networking(IP ip, uint16_t port);
116 116
117/* function to cleanup networking stuff(doesn't do much right now) */ 117/* function to cleanup networking stuff(doesn't do much right now) */
118void shutdown_networking(); 118void shutdown_networking(void);
119 119
120/* 120/*
121 resolve_addr(): 121 resolve_addr():