watchdog: watchdog-test: make term() static
Subsystems (2)
PATCH 1/1 watchdog: watchdog-test: make term() static
In 3.5 warning during build 'no previous prototype for term'. Since it is only used in watchdog-test.c make term() static.
Signed-off-by Jerry Snitselaar <[email protected]>
--- Documentation/watchdog/src/watchdog-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/watchdog/src/watchdog-test.c +1 -1
@@ -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" );
Signature · 1 line
1.7.12.rc0
Quoted 22 lines · Jerry Snitselaar
In 3.5 warning during build 'no previous prototype for term'. Since it is only used in
watchdog-test.cmaketerm()static.Signed-off-by Jerry Snitselaar <[email protected]>--- Documentation/watchdog/src/watchdog-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/watchdog/src/watchdog-test.c +1
-2@@ -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" ); --
Quoted 2 lines
1.7.12.rc0
Disregard this patch. I didn't see Randy's patch when I did a search in my email.
Jerry