summaryrefslogtreecommitdiff
path: root/miscutils/watchdog.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-01-30 17:17:14 +0000
committerBernhard Reutner-Fischer2006-01-30 17:17:14 +0000
commit20f40000864609866b51624351581d067b18469c (patch)
treec47584ea54140cdd66f0833c8202875e8f4fe844 /miscutils/watchdog.c
parent0e8727d93b963d13c511d39199043c2c316031c2 (diff)
downloadbusybox-20f40000864609866b51624351581d067b18469c.zip
busybox-20f40000864609866b51624351581d067b18469c.tar.gz
- add some ATTRIBUTE_UNUSED.
- use shorter boilerplate while at it.
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r--miscutils/watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c
index 944288d..55dd698 100644
--- a/miscutils/watchdog.c
+++ b/miscutils/watchdog.c
@@ -20,7 +20,7 @@ static unsigned int timer_duration = 30;
/* Watchdog file descriptor */
static int fd;
-static void watchdog_shutdown(int unused)
+static void watchdog_shutdown(int ATTRIBUTE_UNUSED unused)
{
write(fd, "V", 1); /* Magic */
close(fd);