aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2010-03-10 18:23:59 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-12 18:52:44 -0500
commitd33ed52d57e794eba55cea3f5eab3c8f80b6cb5a (patch)
treeb501f3364f5771dd538eceb3a98d0cb0a1dd5dea /kernel/sysctl.c
parenteb5572fed55f4c2b7dbc42582bc82dcb47632380 (diff)
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>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 72c3b1e80d7b..a8fd10a9a501 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -23,6 +23,7 @@
23#include <linux/swap.h> 23#include <linux/swap.h>
24#include <linux/slab.h> 24#include <linux/slab.h>
25#include <linux/sysctl.h> 25#include <linux/sysctl.h>
26#include <linux/signal.h>
26#include <linux/proc_fs.h> 27#include <linux/proc_fs.h>
27#include <linux/security.h> 28#include <linux/security.h>
28#include <linux/ctype.h> 29#include <linux/ctype.h>
@@ -65,7 +66,6 @@
65#if defined(CONFIG_SYSCTL) 66#if defined(CONFIG_SYSCTL)
66 67
67/* External variables not in a header file. */ 68/* External variables not in a header file. */
68extern int print_fatal_signals;
69extern int sysctl_overcommit_memory; 69extern int sysctl_overcommit_memory;
70extern int sysctl_overcommit_ratio; 70extern int sysctl_overcommit_ratio;
71extern int sysctl_panic_on_oom; 71extern int sysctl_panic_on_oom;