mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
[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>
This commit is contained in:
parent
643f720cea
commit
89bbc03c01
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user