aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/watchdogd
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-12-29 22:53:27 +0000
committerEd Schouten <ed@FreeBSD.org>2009-12-29 22:53:27 +0000
commit10bc3a7f42563fa24555dc35c5cdbb1af3241348 (patch)
tree2e35e76a520e919173f604f9ba0f30358443ed4a /usr.sbin/watchdogd
parent7b4f22d5ed8862f4711f8fea577eba7821de04be (diff)
downloadsrc-10bc3a7f42563fa24555dc35c5cdbb1af3241348.tar.gz
src-10bc3a7f42563fa24555dc35c5cdbb1af3241348.zip
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.
Notes
Notes: svn path=/head/; revision=201227
Diffstat (limited to 'usr.sbin/watchdogd')
-rw-r--r--usr.sbin/watchdogd/watchdogd.c4
1 files changed, 2 insertions, 2 deletions
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");