sysctl extern cleanup: signal

Extern declarations in sysctl.c should be moved to their own header file,
and then include them in relavant .c files.

Move print_fatal_signals extern declaration to linux/signal.h

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Dave Young
2010-03-10 15:23:59 -08:00
committed by Linus Torvalds
parent eb5572fed5
commit d33ed52d57
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
#ifdef __KERNEL__
#include <linux/list.h>
/* for sysctl */
extern int print_fatal_signals;
/*
* Real Time signals may be queued.
*/