Commit 4b1c2f41 authored by Randy Dunlap's avatar Randy Dunlap Committed by Wim Van Sebroeck
Browse files

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: default avatarRandy Dunlap <>
Signed-off-by: default avatarWim Van Sebroeck <>
parent c182ae42
......@@ -31,7 +31,7 @@ static void keep_alive(void)
* or "-e" to enable the card.
void term(int sig)
static void term(int sig)
fprintf(stderr, "Stopping watchdog ticks...\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment