summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/longjmp.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-09 05:20:47 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-09 05:20:47 +0000
commit79d0de9210745aad1115832e74c39da14142d619 (patch)
treed000d63e55448602f1bb4f721d1f84837e62b21a /libc/sysdeps/linux/sh/longjmp.c
parent86ce3680e3a24be36ee35e576252f0eade9d9247 (diff)
downloaduClibc-alpine-79d0de9210745aad1115832e74c39da14142d619.tar.bz2
uClibc-alpine-79d0de9210745aad1115832e74c39da14142d619.tar.xz
Merge from trunk, again.
Diffstat (limited to 'libc/sysdeps/linux/sh/longjmp.c')
-rw-r--r--libc/sysdeps/linux/sh/longjmp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sh/longjmp.c b/libc/sysdeps/linux/sh/longjmp.c
index 14e32d502..c36344cd1 100644
--- a/libc/sysdeps/linux/sh/longjmp.c
+++ b/libc/sysdeps/linux/sh/longjmp.c
@@ -25,7 +25,6 @@
#include <signal.h>
extern int __longjmp(char *env, int val);
-extern int __sigprocmask(int how, const sigset_t *set, sigset_t *oldset);
/* Set the signal mask to the one specified in ENV, and jump
to the position specified in ENV, causing the setjmp
@@ -34,7 +33,7 @@ void __libc_siglongjmp (sigjmp_buf env, int val)
{
if (env[0].__mask_was_saved)
/* Restore the saved signal mask. */
- (void) __sigprocmask (SIG_SETMASK, &env[0].__saved_mask,
+ (void) sigprocmask (SIG_SETMASK, &env[0].__saved_mask,
(sigset_t *) NULL);
/* Call the machine-dependent function to restore machine state. */