summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-19 00:17:56 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:28 +0200
commitb496187a721dc2a4d87ed298f85817245d46f846 (patch)
tree193619f4cef7a907595fa52fd3ccf1fc5ed9dfa9 /libc
parentf96ea618cbaf2e52fafdca40fe8e2005ae393075 (diff)
setjmp.h: move __sigjmp_save prototype for consistency
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/signal/sigjmp.c1
-rw-r--r--libc/sysdeps/linux/mips/setjmp_aux.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/libc/signal/sigjmp.c b/libc/signal/sigjmp.c
index e1b1e249f..a96d6623b 100644
--- a/libc/signal/sigjmp.c
+++ b/libc/signal/sigjmp.c
@@ -25,7 +25,6 @@
before doing a `__setjmp' on ENV[0].__jmpbuf.
Always return zero. */
-int __sigjmp_save (sigjmp_buf env, int savemask) attribute_hidden;
int __sigjmp_save (sigjmp_buf env, int savemask)
{
env[0].__mask_was_saved = (savemask &&
diff --git a/libc/sysdeps/linux/mips/setjmp_aux.c b/libc/sysdeps/linux/mips/setjmp_aux.c
index 751b32d7d..3f2ae9af1 100644
--- a/libc/sysdeps/linux/mips/setjmp_aux.c
+++ b/libc/sysdeps/linux/mips/setjmp_aux.c
@@ -27,8 +27,6 @@
pointer. We do things this way because it's difficult to reliably
access them in C. */
-extern int __sigjmp_save (sigjmp_buf, int);
-
int
#if _MIPS_SIM == _MIPS_SIM_ABI64
__sigsetjmp_aux (jmp_buf env, int savemask, long sp, long fp)