diff options
author | наб <[email protected]> | 2022-05-10 23:28:02 +0200 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-12-01 12:39:44 -0800 |
commit | 108c07c655be5228ca0adb7e4e8186d9e66cbc6e (patch) | |
tree | c20c35d8725f408fef7444b579e5e5f80790c885 /cmd/zed/zed_disk_event.c | |
parent | 32f7499acf3546d7275ac0410525dae731afa11d (diff) |
Remove final K&R definitions
Clang trunk now warns -Wstrict-prototypes on this, and they're removed
in C2x
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13447
Diffstat (limited to 'cmd/zed/zed_disk_event.c')
-rw-r--r-- | cmd/zed/zed_disk_event.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) { } |