fix signal.h breakage from moving stack_t to arch-specific bits
in the previous changes, I missed the fact that both the prototype of the sigaltstack function and the definition of ucontext_t depend on stack_t.
This commit is contained in:
parent
12f37cdee5
commit
9505bfbc40
9 changed files with 50 additions and 48 deletions
|
|
@ -21,6 +21,12 @@ typedef struct {
|
|||
} mcontext_t;
|
||||
#endif
|
||||
|
||||
struct sigaltstack {
|
||||
void *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
};
|
||||
|
||||
typedef struct __ucontext {
|
||||
unsigned long uc_flags;
|
||||
struct __ucontext *uc_link;
|
||||
|
|
@ -29,12 +35,6 @@ typedef struct __ucontext {
|
|||
sigset_t uc_sigmask;
|
||||
} ucontext_t;
|
||||
|
||||
typedef struct sigaltstack {
|
||||
void *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
} stack_t;
|
||||
|
||||
#define SA_NOCLDSTOP 1
|
||||
#define SA_NOCLDWAIT 2
|
||||
#define SA_SIGINFO 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue