summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@enix.org>2006-10-01 08:27:54 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 09:39:23 +0200
commit89bbc03c01f68e627a2b120963f136e2815f0d84 (patch)
treee2f02e3eb615f36ca4d5e7ebb9d77889f7957bb2 /include
parent[PATCH] mmc (mainly): add "or later" clause to licence statement. (diff)
downloadlinux-89bbc03c01f68e627a2b120963f136e2815f0d84.tar.xz
linux-89bbc03c01f68e627a2b120963f136e2815f0d84.zip
[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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h
index 4812ff60561c..e657e523b9bf 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 */