From 710989b08737c6cccfdd8e33d6ceeba0e295ddec Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 20 Apr 2017 12:50:39 +0200 Subject: [PATCH] zos: use proper prototype for epoll_init() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `int epoll_init()` declares a function that takes any number of arguments, use `int epoll_init(void)` instead. PR-URL: https://github.com/libuv/libuv/pull/1314 Reviewed-By: Colin Ihrig Reviewed-By: Colin Ihrig Reviewed-By: John Barboza Reviewed-By: Saúl Ibarra Corretgé --- src/unix/os390-syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/os390-syscalls.c b/src/unix/os390-syscalls.c index 2bf3b7381..7edf2358d 100644 --- a/src/unix/os390-syscalls.c +++ b/src/unix/os390-syscalls.c @@ -120,7 +120,7 @@ static void maybe_resize(uv__os390_epoll* lst, unsigned int len) { } -static void epoll_init() { +static void epoll_init(void) { QUEUE_INIT(&global_epoll_queue); if (uv_mutex_init(&global_epoll_lock)) abort();