From: Randy Dunlap Date: Mon, 23 Jul 2012 17:46:11 +0000 (-0700) Subject: watchdog: fix watchdog-test.c build warning X-Git-Tag: v3.6~134^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b1c2f41c2dda158bb7a3dded70775a76b581995;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Wim Van Sebroeck --- diff --git a/Documentation/watchdog/src/watchdog-test.c b/Documentation/watchdog/src/watchdog-test.c index 73ff5cc..3da8229 100644 --- a/Documentation/watchdog/src/watchdog-test.c +++ b/Documentation/watchdog/src/watchdog-test.c @@ -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");