consolidate kernel-side struct sigaction declarations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -21,4 +21,6 @@
|
||||
#include <asm/sigcontext.h>
|
||||
#include <asm/siginfo.h>
|
||||
|
||||
#define __ARCH_HAS_ODD_SIGACTION
|
||||
|
||||
#endif /* _ASM_SIGNAL_H */
|
||||
|
@@ -96,11 +96,13 @@ typedef unsigned long old_sigset_t; /* at least 32 bits */
|
||||
|
||||
#include <asm-generic/signal-defs.h>
|
||||
|
||||
#ifndef __KERNEL__
|
||||
struct sigaction {
|
||||
unsigned int sa_flags;
|
||||
__sighandler_t sa_handler;
|
||||
sigset_t sa_mask;
|
||||
};
|
||||
#endif
|
||||
|
||||
/* IRIX compatible stack_t */
|
||||
typedef struct sigaltstack {
|
||||
|
Reference in New Issue
Block a user