diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-22 22:26:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-22 22:55:23 -0700 |
commit | 1965aae3c98397aad957412413c07e97b1bd4e64 (patch) | |
tree | 1386fcb54753f8dda8f99ca6e5ecab0add1f029f /arch/x86/include/asm/proto.h | |
parent | 87e299e5c7508a9443f04703f1d0c7f518f79ea9 (diff) | |
download | lwn-1965aae3c98397aad957412413c07e97b1bd4e64.tar.gz lwn-1965aae3c98397aad957412413c07e97b1bd4e64.zip |
x86: Fix ASM_X86__ header guards
Change header guards named "ASM_X86__*" to "_ASM_X86_*" since:
a. the double underscore is ugly and pointless.
b. no leading underscore violates namespace constraints.
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/include/asm/proto.h b/arch/x86/include/asm/proto.h index 6e89e8b4de0e..d6a22f92ba77 100644 --- a/arch/x86/include/asm/proto.h +++ b/arch/x86/include/asm/proto.h @@ -1,5 +1,5 @@ -#ifndef ASM_X86__PROTO_H -#define ASM_X86__PROTO_H +#ifndef _ASM_X86_PROTO_H +#define _ASM_X86_PROTO_H #include <asm/ldt.h> @@ -29,4 +29,4 @@ long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); #define round_up(x, y) (((x) + (y) - 1) & ~((y) - 1)) #define round_down(x, y) ((x) & ~((y) - 1)) -#endif /* ASM_X86__PROTO_H */ +#endif /* _ASM_X86_PROTO_H */ |