diff options
author | irungentoo <irungentoo@gmail.com> | 2014-05-01 19:42:44 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-05-01 19:42:44 -0400 |
commit | deb8bfc350748555b7de5d0f4911c382b3f2d65e (patch) | |
tree | 7f026e9fb740cb7c6c6eee5397a1365e5a034ef5 /toxcore/network.h | |
parent | 47aa53a3840f81b42e0f78dea03a57ebd7c3ebb5 (diff) |
Random number functions belong in crypto_core.
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index d19f144c..4a893cff 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -325,11 +325,6 @@ int set_socket_dualstack(sock_t sock); | |||
325 | /* return current UNIX time in microseconds (us). */ | 325 | /* return current UNIX time in microseconds (us). */ |
326 | uint64_t current_time(void); | 326 | uint64_t current_time(void); |
327 | 327 | ||
328 | /* return a random number. | ||
329 | */ | ||
330 | uint32_t random_int(void); | ||
331 | uint64_t random_64b(void); | ||
332 | |||
333 | /* Basic network functions: */ | 328 | /* Basic network functions: */ |
334 | 329 | ||
335 | /* Function to send packet(data) of length length to ip_port. */ | 330 | /* Function to send packet(data) of length length to ip_port. */ |