summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-03-18 23:27:45 -0400
committerRich Felker <dalias@aerifal.cx>2014-03-18 23:27:45 -0400
commit9505bfbc40fec217820abad7142663eda60cd6be (patch)
tree9079fbd0b02052c8aae1674e213fd9be64ff6284 /arch/microblaze
parent12f37cdee521da18bbc666917f70cefeb29d3db6 (diff)
downloadmusl-9505bfbc40fec217820abad7142663eda60cd6be.tar.gz
musl-9505bfbc40fec217820abad7142663eda60cd6be.tar.bz2
musl-9505bfbc40fec217820abad7142663eda60cd6be.tar.xz
musl-9505bfbc40fec217820abad7142663eda60cd6be.zip
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.
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/bits/signal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/microblaze/bits/signal.h b/arch/microblaze/bits/signal.h
index 730ab90b..01fa7bf5 100644
--- a/arch/microblaze/bits/signal.h
+++ b/arch/microblaze/bits/signal.h
@@ -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