Skip to content
Snippets Groups Projects
Commit 5f2e8e2b authored by Linus Torvalds's avatar Linus Torvalds
Browse files

kernel/watchdog.c: Use proper ANSI C prototypes


We try to enforce it by using -Wstrict-prototypes, but apparently they
sometimes get through.  Introduced by 4eec42f3 ("watchdog: Change
the default timeout and configure nmi watchdog period based").

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5e152b4c
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ __setup("nosoftlockup", nosoftlockup_setup);
* the thresholds with a factor: we make the soft threshold twice the amount of
* time the hard threshold is.
*/
static int get_softlockup_thresh()
static int get_softlockup_thresh(void)
{
return watchdog_thresh * 2;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment