watchdog: fix a compiler warning of test program
Subsystems (2)
PATCH 1/1 watchdog: fix a compiler warning of test program
This patch fixs the following compiler warning:
Documentation/watchdog/src/watchdog-test.c:34:6: \
warning: no previous prototype for ‘term’ [-Wmissing-prototypes]
Signed-off-by yan <[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.9.5
Quoted 2 lines · yan
This patch fixs the following compiler warning:
Hi,
This is already fixed in the watchdog git tree.
Thanks.
Quoted 21 lines
Documentation/watchdog/src/watchdog-test.c:34:6: \
warning: no previous prototype for ‘term’ [-Wmissing-prototypes]Signed-off-by yan <[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
~Randy
And the fix is in Linus his tree also now.
Kind regards,
Wim.
Quoted 37 lines · yan
Quoted 3 lines
This patch fixs the following compiler warning:
Hi,
This is already fixed in the watchdog git tree.Thanks.
Quoted 21 lines
Documentation/watchdog/src/watchdog-test.c:34:6: \
warning: no previous prototype for ‘term’ [-Wmissing-prototypes]Signed-off-by yan <[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
~Randy