diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-30 17:17:14 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-30 17:17:14 +0000 |
commit | e3206585f41ad674d5d6f9f04f4cb50efdc21119 (patch) | |
tree | c47584ea54140cdd66f0833c8202875e8f4fe844 /miscutils/watchdog.c | |
parent | 1384f29bcb54c994159c68508b9c359d7d2abc6a (diff) | |
download | busybox-w32-e3206585f41ad674d5d6f9f04f4cb50efdc21119.tar.gz busybox-w32-e3206585f41ad674d5d6f9f04f4cb50efdc21119.tar.bz2 busybox-w32-e3206585f41ad674d5d6f9f04f4cb50efdc21119.zip |
- add some ATTRIBUTE_UNUSED.
- use shorter boilerplate while at it.
git-svn-id: svn://busybox.net/trunk/busybox@13718 69ca8d6d-28ef-0310-b511-8ec308f3f277
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); |