diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-01-30 17:17:14 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-01-30 17:17:14 +0000 |
commit | 20f40000864609866b51624351581d067b18469c (patch) | |
tree | c47584ea54140cdd66f0833c8202875e8f4fe844 /miscutils/watchdog.c | |
parent | 0e8727d93b963d13c511d39199043c2c316031c2 (diff) | |
download | busybox-w32-20f40000864609866b51624351581d067b18469c.tar.gz busybox-w32-20f40000864609866b51624351581d067b18469c.tar.bz2 busybox-w32-20f40000864609866b51624351581d067b18469c.zip |
- add some ATTRIBUTE_UNUSED.
- use shorter boilerplate while at it.
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r-- | miscutils/watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 944288d29..55dd69857 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
@@ -20,7 +20,7 @@ static unsigned int timer_duration = 30; | |||
20 | /* Watchdog file descriptor */ | 20 | /* Watchdog file descriptor */ |
21 | static int fd; | 21 | static int fd; |
22 | 22 | ||
23 | static void watchdog_shutdown(int unused) | 23 | static void watchdog_shutdown(int ATTRIBUTE_UNUSED unused) |
24 | { | 24 | { |
25 | write(fd, "V", 1); /* Magic */ | 25 | write(fd, "V", 1); /* Magic */ |
26 | close(fd); | 26 | close(fd); |