summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-03-18 23:12:40 -0400
committerRich Felker <dalias@aerifal.cx>2014-03-18 23:12:40 -0400
commitbd5f221eaa16fcc13f050201883428afa3a9d0c0 (patch)
tree6087e2f8744927a23112275b2fa46a96a77a7e2f /arch/sh
parent25faa2034de38f7d8cc919e61e55e7067584077d (diff)
downloadmusl-bd5f221eaa16fcc13f050201883428afa3a9d0c0.tar.gz
musl-bd5f221eaa16fcc13f050201883428afa3a9d0c0.tar.bz2
musl-bd5f221eaa16fcc13f050201883428afa3a9d0c0.tar.xz
musl-bd5f221eaa16fcc13f050201883428afa3a9d0c0.zip
move signal.h definition of stack_t to arch-specific bits
it's different at least on mips. mips version will be fixed in a separate commit to show the change.
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/bits/signal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/bits/signal.h b/arch/sh/bits/signal.h
index 905ae3ac..bb2b9fc5 100644
--- a/arch/sh/bits/signal.h
+++ b/arch/sh/bits/signal.h
@@ -27,6 +27,12 @@ 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