diff --git a/src/apps/common/apputils.c b/src/apps/common/apputils.c index fa149d44..fd01c6ea 100644 --- a/src/apps/common/apputils.c +++ b/src/apps/common/apputils.c @@ -141,7 +141,7 @@ int set_sock_buf_size(evutil_socket_t fd, int sz0) return 0; } -int socket_init() +int socket_init(void) { #if defined(WINDOWS) { @@ -1262,7 +1262,7 @@ unsigned long set_system_parameters(int max_resources) return 0; } -unsigned long get_system_number_of_cpus() +unsigned long get_system_number_of_cpus(void) { #if defined(WINDOWS) SYSTEM_INFO sysInfo; diff --git a/src/apps/common/apputils.h b/src/apps/common/apputils.h index 909025bd..76a3ba75 100644 --- a/src/apps/common/apputils.h +++ b/src/apps/common/apputils.h @@ -173,7 +173,7 @@ void read_spare_buffer(evutil_socket_t fd); int set_sock_buf_size(evutil_socket_t fd, int sz); -int socket_init(); +int socket_init(void); int socket_set_reusable(evutil_socket_t fd, int reusable, SOCKET_TYPE st); int sock_bind_to_device(evutil_socket_t fd, const unsigned char* ifname); int socket_set_nonblocking(evutil_socket_t fd); @@ -199,7 +199,7 @@ int get_raw_socket_ttl(evutil_socket_t fd, int family); void ignore_sigpipe(void); unsigned long set_system_parameters(int max_resources); -unsigned long get_system_number_of_cpus(); +unsigned long get_system_number_of_cpus(void); ///////////////////////// MTU //////////////////////////