diff options
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/init.c | 2 | ||||
-rw-r--r-- | ext/socket/raddrinfo.c | 2 | ||||
-rw-r--r-- | ext/socket/socket.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/socket/init.c b/ext/socket/init.c index bcc1e52d50..c3f33964a8 100644 --- a/ext/socket/init.c +++ b/ext/socket/init.c @@ -594,7 +594,7 @@ rsock_getfamily(int sockfd) } void -rsock_init_socket_init() +rsock_init_socket_init(void) { /* * SocketError is the error class for socket. diff --git a/ext/socket/raddrinfo.c b/ext/socket/raddrinfo.c index 8e6434717a..1d2b9f953e 100644 --- a/ext/socket/raddrinfo.c +++ b/ext/socket/raddrinfo.c @@ -716,7 +716,7 @@ get_addrinfo(VALUE self) static rb_addrinfo_t * -alloc_addrinfo() +alloc_addrinfo(void) { rb_addrinfo_t *rai = ZALLOC(rb_addrinfo_t); rai->inspectname = Qnil; diff --git a/ext/socket/socket.c b/ext/socket/socket.c index f27383d61c..81028c5afb 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -2025,7 +2025,7 @@ socket_s_ip_address_list(VALUE self) #endif void -Init_socket() +Init_socket(void) { rsock_init_basicsocket(); |