From 9505bfbc40fec217820abad7142663eda60cd6be Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 18 Mar 2014 23:27:45 -0400 Subject: 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. --- arch/i386/bits/signal.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'arch/i386') diff --git a/arch/i386/bits/signal.h b/arch/i386/bits/signal.h index 7d8d1871..adf0c075 100644 --- a/arch/i386/bits/signal.h +++ b/arch/i386/bits/signal.h @@ -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 -- cgit v1.2.1