diff options
author | Thomas Petazzoni <thomas.petazzoni@enix.org> | 2006-09-30 23:27:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 00:39:23 -0700 |
commit | 89bbc03c01f68e627a2b120963f136e2815f0d84 (patch) | |
tree | e2f02e3eb615f36ca4d5e7ebb9d77889f7957bb2 /include | |
parent | 643f720cea989d2913fc0120a2384fecc1be1f9a (diff) |
[PATCH] Prevent multiple inclusion of linux/sysrq.h
Prevent multiple inclusions of include/linux/sysrq.h using traditional
#ifndef..#endif.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sysrq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h index 4812ff60561..e657e523b9b 100644 --- a/include/linux/sysrq.h +++ b/include/linux/sysrq.h @@ -11,6 +11,8 @@ * based upon discusions in irc://irc.openprojects.net/#kernelnewbies */ +#ifndef _LINUX_SYSRQ_H +#define _LINUX_SYSRQ_H struct pt_regs; struct tty_struct; @@ -57,3 +59,5 @@ static inline int __reterr(void) #define unregister_sysrq_key(ig,nore) __reterr() #endif + +#endif /* _LINUX_SYSRQ_H */ |