aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/reboot.h
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
commiteb5572fed55f4c2b7dbc42582bc82dcb47632380 (patch)
tree57a6e2d44831f6509d9fadcaa4a47d549cb974d9 /include/linux/reboot.h
parentd759c3745e62c36fd7efee7a2ce2a327f22e9056 (diff)
sysctl extern cleanup: C_A_D
Extern declarations in sysctl.c should be moved to their own header file, and then include them in relavant .c files. Move C_A_D extern variable declaration to linux/reboot.h Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/reboot.h')
-rw-r--r--include/linux/reboot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/reboot.h b/include/linux/reboot.h
index 988e55fe649b..3005d5a7fce5 100644
--- a/include/linux/reboot.h
+++ b/include/linux/reboot.h
@@ -64,6 +64,7 @@ extern void kernel_restart(char *cmd);
64extern void kernel_halt(void); 64extern void kernel_halt(void);
65extern void kernel_power_off(void); 65extern void kernel_power_off(void);
66 66
67extern int C_A_D; /* for sysctl */
67void ctrl_alt_del(void); 68void ctrl_alt_del(void);
68 69
69#define POWEROFF_CMD_PATH_LEN 256 70#define POWEROFF_CMD_PATH_LEN 256