]> 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)
commitde1541dd229c63806bdd3c2112b706e6a5f5285f
treef7188c9376072d0ad37ae06832a2554dec320c67
parent7f93403c539b175599770d60d2851b9b8de15ce5
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 84afb5384681 ("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