From 10bc3a7f42563fa24555dc35c5cdbb1af3241348 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 29 Dec 2009 22:53:27 +0000 Subject: ANSIfy almost all applications that use WARNS=6. I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application. --- usr.sbin/watchdogd/watchdogd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/watchdogd') diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c index ec010cb56266..073affd71c2a 100644 --- a/usr.sbin/watchdogd/watchdogd.c +++ b/usr.sbin/watchdogd/watchdogd.c @@ -149,7 +149,7 @@ sighandler(int signum) * Open the watchdog device. */ static int -watchdog_init() +watchdog_init(void) { fd = open("/dev/" _PATH_WATCHDOG, O_RDWR); @@ -220,7 +220,7 @@ watchdog_onoff(int onoff) * Tell user how to use the program. */ static void -usage() +usage(void) { if (is_daemon) fprintf(stderr, "usage: watchdogd [-d] [-e cmd] [-I file] [-s sleep] [-t timeout]\n"); -- cgit v1.2.3