Skip to content

Commit

Permalink
x86: remove "extern" from function prototypes in <asm/proto.h>
Browse files Browse the repository at this point in the history
Function prototypes don't need "extern", and it is generally frowned
upon to have them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
H. Peter Anvin committed Nov 16, 2009
1 parent 4b0f3b8 commit 5bd085b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions arch/x86/include/asm/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5bd085b

Please sign in to comment.