diff options
Diffstat (limited to 'core/network.h')
-rw-r--r-- | core/network.h | 6 |
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. */ |
93 | uint64_t current_time(); | 93 | uint64_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 */ |
97 | uint32_t random_int(); | 97 | uint32_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); | |||
115 | int init_networking(IP ip, uint16_t port); | 115 | int 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) */ |
118 | void shutdown_networking(); | 118 | void shutdown_networking(void); |
119 | 119 | ||
120 | /* | 120 | /* |
121 | resolve_addr(): | 121 | resolve_addr(): |