Skip to content

Commit

Permalink
[PATCH] Prevent multiple inclusion of linux/sysrq.h
Browse files Browse the repository at this point in the history
Prevent multiple inclusions of include/linux/sysrq.h using traditional
#ifndef..#endif.

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
tpetazzoni authored and Linus Torvalds committed Oct 1, 2006
1 parent 643f720 commit 89bbc03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/sysrq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -57,3 +59,5 @@ static inline int __reterr(void)
#define unregister_sysrq_key(ig,nore) __reterr()

#endif

#endif /* _LINUX_SYSRQ_H */

0 comments on commit 89bbc03

Please sign in to comment.