From 763f34cc1f94c4f2238a5772300f5714764f7678 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 2 Oct 2017 21:05:47 +0200 Subject: [PATCH] test: fix -Wstrict-prototypes warnings These have been around for some time apparently (commit 391f0098de from May 2011) but went unnoticed so far. No longer. PR-URL: https://github.com/libuv/libuv/pull/1581 Reviewed-By: Colin Ihrig Reviewed-By: Santiago Gimeno --- test/benchmark-pump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/benchmark-pump.c b/test/benchmark-pump.c index 88f2dc5c..8685258e 100644 --- a/test/benchmark-pump.c +++ b/test/benchmark-pump.c @@ -36,9 +36,9 @@ static int TARGET_CONNECTIONS; static void do_write(uv_stream_t*); -static void maybe_connect_some(); +static void maybe_connect_some(void); -static uv_req_t* req_alloc(); +static uv_req_t* req_alloc(void); static void req_free(uv_req_t* uv_req); static void buf_alloc(uv_handle_t* handle, size_t size, uv_buf_t* buf);