summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/proto.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-11-16 22:55:31 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-11-16 22:55:31 +0100
commit5bd085b5fbd8b0b8685a2173cb9263798fc2a44e (patch)
treed8c0c2c6a3d2cb5ace619d2cc8323ad0ad397e24 /arch/x86/include/asm/proto.h
parentx86, mm: Report state of NX protections during boot (diff)
downloadlinux-5bd085b5fbd8b0b8685a2173cb9263798fc2a44e.tar.xz
linux-5bd085b5fbd8b0b8685a2173cb9263798fc2a44e.zip
x86: remove "extern" from function prototypes in <asm/proto.h>
Function prototypes don't need "extern", and it is generally frowned upon to have them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/proto.h')
-rw-r--r--arch/x86/include/asm/proto.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/include/asm/proto.h b/arch/x86/include/asm/proto.h
index 450c56bcd4f8..4009f6534f52 100644
--- a/arch/x86/include/asm/proto.h
+++ b/arch/x86/include/asm/proto.h
@@ -5,19 +5,19 @@
/* misc architecture specific prototypes */
-extern void early_idt_handler(void);
+void early_idt_handler(void);
-extern void system_call(void);
-extern void syscall_init(void);
+void system_call(void);
+void syscall_init(void);
-extern void ia32_syscall(void);
-extern void ia32_cstar_target(void);
-extern void ia32_sysenter_target(void);
+void ia32_syscall(void);
+void ia32_cstar_target(void);
+void ia32_sysenter_target(void);
-extern void syscall32_cpu_init(void);
+void syscall32_cpu_init(void);
-extern void x86_configure_nx(void);
-extern void x86_report_nx(void);
+void x86_configure_nx(void);
+void x86_report_nx(void);
extern int reboot_force;