projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
274f594
)
Add standard include guard to asm-generic/signal and use compiler.h
author
David Woodhouse
<dwmw2@infradead.org>
Thu, 27 Apr 2006 05:57:23 +0000
(06:57 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Thu, 27 Apr 2006 05:57:23 +0000
(06:57 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/asm-generic/signal.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-generic/signal.h
b/include/asm-generic/signal.h
index 9418d6e9b8cd532fe4655c2d60de53ab606f850f..dae1d8720076fde1aad89772b6390f22b1db3345 100644
(file)
--- a/
include/asm-generic/signal.h
+++ b/
include/asm-generic/signal.h
@@
-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
@@
-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 */