]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/watchdog.c: Use proper ANSI C prototypes
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2011 04:07:40 +0000 (21:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2011 04:07:40 +0000 (21:07 -0700)
commitd6e8be93077f8fcfd89e650d9756202d986796bb
treef7188c9376072d0ad37ae06832a2554dec320c67
parent45eef738d0a13e1c214d4e0dc1e916be5d5906a0
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 104c3a698563 ("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>
kernel/watchdog.c