diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-07-23 13:46:11 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-08-29 11:12:58 -0400 |
commit | 4b1c2f41c2dda158bb7a3dded70775a76b581995 (patch) | |
tree | da0fc308f7b2bfd9e641cb295d16717bbe7c5abf /Documentation/watchdog | |
parent | c182ae42cc3611f7b3fa803c0bcab6e5d29bea63 (diff) |
watchdog: fix watchdog-test.c build warning
Fix compiler warning by making the function static:
Documentation/watchdog/src/watchdog-test.c:34:6: warning: no previous prototype for 'term'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/watchdog')
-rw-r--r-- | Documentation/watchdog/src/watchdog-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/watchdog/src/watchdog-test.c b/Documentation/watchdog/src/watchdog-test.c index 73ff5cc93e05..3da822967ee0 100644 --- a/Documentation/watchdog/src/watchdog-test.c +++ b/Documentation/watchdog/src/watchdog-test.c | |||
@@ -31,7 +31,7 @@ static void keep_alive(void) | |||
31 | * or "-e" to enable the card. | 31 | * or "-e" to enable the card. |
32 | */ | 32 | */ |
33 | 33 | ||
34 | void term(int sig) | 34 | static void term(int sig) |
35 | { | 35 | { |
36 | close(fd); | 36 | close(fd); |
37 | fprintf(stderr, "Stopping watchdog ticks...\n"); | 37 | fprintf(stderr, "Stopping watchdog ticks...\n"); |