Skip to content

Commit

Permalink
Add standard include guard to asm-generic/signal and use compiler.h
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Apr 27, 2006
1 parent 274f594 commit ad15887
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/asm-generic/signal.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#ifndef __ASM_GENERIC_SIGNAL_H
#define __ASM_GENERIC_SIGNAL_H

#include <linux/compiler.h>

#ifndef SIG_BLOCK
#define SIG_BLOCK 0 /* for blocking signals */
#endif
Expand All @@ -19,3 +24,5 @@ typedef __restorefn_t __user *__sigrestore_t;
#define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */
#endif

#endif /* __ASM_GENERIC_SIGNAL_H */

0 comments on commit ad15887

Please sign in to comment.