about summary refs log tree commit diff
path: root/arch/mips/bits/signal.h
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/mips/bits/signal.h
parent25faa2034de38f7d8cc919e61e55e7067584077d (diff)
downloadmusl-bd5f221eaa16fcc13f050201883428afa3a9d0c0.tar.gz
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/mips/bits/signal.h')
-rw-r--r--arch/mips/bits/signal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/bits/signal.h b/arch/mips/bits/signal.h
index f26c37da..d09558fe 100644
--- a/arch/mips/bits/signal.h
+++ b/arch/mips/bits/signal.h
@@ -46,6 +46,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  0x10000
 #define SA_SIGINFO    8