diff options
author | charmlesscoin <charmlesscoin@gmail.com> | 2013-08-05 16:11:37 -0400 |
---|---|---|
committer | charmlesscoin <charmlesscoin@gmail.com> | 2013-08-05 16:11:37 -0400 |
commit | d92550506604fcff8164a6dce221f0e4be6adda6 (patch) | |
tree | f386f8a7ad2320af058f8554f2e40b1319bbfd50 /core/network.h | |
parent | 1b6c16f7ff57624bee1594f31b057609d52dbea6 (diff) | |
parent | f0397ebb2b85100e2ac1b2d3a377ba012ab53240 (diff) |
Merge branch 'master' of git://github.com/irungentoo/ProjectTox-Core
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(): |