diff options
author | JamoBox <petewicken@gmail.com> | 2013-09-02 17:25:28 +0100 |
---|---|---|
committer | JamoBox <petewicken@gmail.com> | 2013-09-02 17:25:28 +0100 |
commit | 61880ab9380f3a71ae1f51df7b6f4836059c041f (patch) | |
tree | e8e1912b43e03282283a8b4ccd420799226a5e88 /toxcore/network.c | |
parent | 7b944e9c656f5bc9e0165db666db0a89963247c8 (diff) |
last of the comment refactoring from toxcore
Diffstat (limited to 'toxcore/network.c')
-rw-r--r-- | toxcore/network.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toxcore/network.c b/toxcore/network.c index 34775570..666846db 100644 --- a/toxcore/network.c +++ b/toxcore/network.c | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | #include "network.h" | 24 | #include "network.h" |
25 | 25 | ||
26 | /* return current UNIX time in microseconds (us). */ | 26 | /* return current UNIX time in microseconds (us). */ |
27 | uint64_t current_time(void) | 27 | uint64_t current_time(void) |
28 | { | 28 | { |
29 | uint64_t time; | 29 | uint64_t time; |
@@ -44,7 +44,7 @@ uint64_t current_time(void) | |||
44 | #endif | 44 | #endif |
45 | } | 45 | } |
46 | 46 | ||
47 | /* return a random number. | 47 | /* return a random number. |
48 | * NOTE: This function should probably not be used where cryptographic randomness is absolutely necessary. | 48 | * NOTE: This function should probably not be used where cryptographic randomness is absolutely necessary. |
49 | */ | 49 | */ |
50 | uint32_t random_int(void) | 50 | uint32_t random_int(void) |
@@ -145,8 +145,8 @@ static void at_shutdown(void) | |||
145 | * ip must be in network order EX: 127.0.0.1 = (7F000001). | 145 | * ip must be in network order EX: 127.0.0.1 = (7F000001). |
146 | * port is in host byte order (this means don't worry about it). | 146 | * port is in host byte order (this means don't worry about it). |
147 | * | 147 | * |
148 | * returns Networking_Core object if no problems | 148 | * return Networking_Core object if no problems |
149 | * returns NULL if there are problems. | 149 | * return NULL if there are problems. |
150 | */ | 150 | */ |
151 | Networking_Core *new_networking(IP ip, uint16_t port) | 151 | Networking_Core *new_networking(IP ip, uint16_t port) |
152 | { | 152 | { |