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:
Rich Felker 2014-03-18 23:27:45 -04:00
commit 9505bfbc40
9 changed files with 50 additions and 48 deletions

View file

@ -53,6 +53,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;
@ -62,12 +68,6 @@ typedef struct __ucontext {
unsigned long __fpregs_mem[28];
} 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