From 108c07c655be5228ca0adb7e4e8186d9e66cbc6e Mon Sep 17 00:00:00 2001 From: наб Date: Tue, 10 May 2022 23:28:02 +0200 Subject: Remove final K&R definitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clang trunk now warns -Wstrict-prototypes on this, and they're removed in C2x Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia Ziemiańska Closes #13447 --- cmd/zed/zed_disk_event.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cmd/zed/zed_disk_event.c') diff --git a/cmd/zed/zed_disk_event.c b/cmd/zed/zed_disk_event.c index e31ec4cfc..3c8e2fb38 100644 --- a/cmd/zed/zed_disk_event.c +++ b/cmd/zed/zed_disk_event.c @@ -402,7 +402,7 @@ zed_udev_monitor(void *arg) } int -zed_disk_event_init() +zed_disk_event_init(void) { int fd, fflags; @@ -438,7 +438,7 @@ zed_disk_event_init() } void -zed_disk_event_fini() +zed_disk_event_fini(void) { /* cancel monitor thread at recvmsg() */ (void) pthread_cancel(g_mon_tid); @@ -456,13 +456,13 @@ zed_disk_event_fini() #include "zed_disk_event.h" int -zed_disk_event_init() +zed_disk_event_init(void) { return (0); } void -zed_disk_event_fini() +zed_disk_event_fini(void) { } -- cgit v1.2.3