From 5617bf0bf1827733a9118a0f3ca866cf5353b1e0 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Mon, 5 Aug 2013 15:57:17 +0200 Subject: Use void for functions with no parameters --- core/network.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/network.c') diff --git a/core/network.c b/core/network.c index c58549bf..8c6fa7b6 100644 --- a/core/network.c +++ b/core/network.c @@ -24,7 +24,7 @@ #include "network.h" /* returns current UNIX time in microseconds (us). */ -uint64_t current_time() +uint64_t current_time(void) { uint64_t time; #ifdef WIN32 @@ -46,7 +46,7 @@ uint64_t current_time() /* return a random number NOTE: this function should probably not be used where cryptographic randomness is absolutely necessary */ -uint32_t random_int() +uint32_t random_int(void) { #ifndef VANILLA_NACL //NOTE: this function comes from libsodium @@ -153,7 +153,7 @@ int init_networking(IP ip, uint16_t port) } /* function to cleanup networking stuff */ -void shutdown_networking() +void shutdown_networking(void) { #ifdef WIN32 closesocket(sock); -- cgit v1.2.3