]> Git Repo - linux.git/commitdiff
watchdog: fix watchdog-test.c build warning
authorRandy Dunlap <[email protected]>
Mon, 23 Jul 2012 17:46:11 +0000 (10:46 -0700)
committerWim Van Sebroeck <[email protected]>
Wed, 29 Aug 2012 15:12:58 +0000 (17:12 +0200)
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 <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Documentation/watchdog/src/watchdog-test.c

index 73ff5cc93e05db4c93321464cb8ae948571a18fe..3da822967ee0e13d1a2dbcd88d2d75f5a4aca370 100644 (file)
@@ -31,7 +31,7 @@ static void keep_alive(void)
  * or "-e" to enable the card.
  */
 
-void term(int sig)
+static void term(int sig)
 {
     close(fd);
     fprintf(stderr, "Stopping watchdog ticks...\n");
This page took 0.063366 seconds and 4 git commands to generate.