--- a/nslinkd.c +++ b/nslinkd.c @@ -329,7 +329,7 @@ } -static void sigterm_handler() +static void sigterm_handler(int) { int i; @@ -352,7 +352,7 @@ exit(0); } -static void sighup_handler() +static void sighup_handler(int) { signal(SIGHUP, sighup_handler); return;