diff options
author | Miroslav Benes <mbenes@suse.cz> | 2015-02-18 09:21:07 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-02-18 14:50:05 -0500 |
commit | 4421f8f0fa02bc982b410cd773223cc280791c54 (patch) | |
tree | 86fc94bb0b0aac23ff301274cd082741c5659100 /arch/x86/include/asm/livepatch.h | |
parent | 1d9c5d79e6e4385aea6f69c23ba543717434ed70 (diff) |
livepatch: remove extern specifier from header files
Storage-class specifier 'extern' is redundant in front of the function
declaration. According to the C specification it has the same meaning as
if not present at all. So remove it.
Signed-off-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/x86/include/asm/livepatch.h')
-rw-r--r-- | arch/x86/include/asm/livepatch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/livepatch.h b/arch/x86/include/asm/livepatch.h index a455a53d789a..2d29197bd2fb 100644 --- a/arch/x86/include/asm/livepatch.h +++ b/arch/x86/include/asm/livepatch.h | |||
@@ -32,8 +32,8 @@ static inline int klp_check_compiler_support(void) | |||
32 | #endif | 32 | #endif |
33 | return 0; | 33 | return 0; |
34 | } | 34 | } |
35 | extern int klp_write_module_reloc(struct module *mod, unsigned long type, | 35 | int klp_write_module_reloc(struct module *mod, unsigned long type, |
36 | unsigned long loc, unsigned long value); | 36 | unsigned long loc, unsigned long value); |
37 | 37 | ||
38 | static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip) | 38 | static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip) |
39 | { | 39 | { |