From 78be70116a6c6092ab8921f44723313d29b7d2c0 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 22 Nov 2023 19:21:29 +0300 Subject: [PATCH] Proper function signatures Because with -Werror they won't compile. --- ndproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ndproxy.c b/ndproxy.c index d2bac05..1b45586 100644 --- a/ndproxy.c +++ b/ndproxy.c @@ -54,7 +54,7 @@ static int hook_added = false; static pfil_hook_t pfh_hook; -static void register_hook() { +static void register_hook(void) { struct pfil_hook_args pha; struct pfil_link_args pla; @@ -78,7 +78,7 @@ static void register_hook() { hook_added = true; } -static void unregister_hook() { +static void unregister_hook(void) { if (!hook_added) return; pfil_remove_hook(pfh_hook); } -- 2.48.1