forked from Minki/linux
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 4eec42f392
("watchdog: Change
the default timeout and configure nmi watchdog period based").
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5e152b4c9e
commit
5f2e8e2b0b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user