summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/longjmp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
commit2512c847453c24b928c34beed88902fbb6877b7a (patch)
tree3d327c54c00684b85c435cffa29c5050888c0a69 /libc/sysdeps/linux/i386/longjmp.c
parente83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (diff)
Update to accomodate the header file changes
Diffstat (limited to 'libc/sysdeps/linux/i386/longjmp.c')
-rw-r--r--libc/sysdeps/linux/i386/longjmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/longjmp.c b/libc/sysdeps/linux/i386/longjmp.c
index 08fc6f0ff..46e48f569 100644
--- a/libc/sysdeps/linux/i386/longjmp.c
+++ b/libc/sysdeps/linux/i386/longjmp.c
@@ -18,6 +18,7 @@
#include <stddef.h>
#include <setjmp.h>
+#define __USE_GNU
#include <signal.h>
@@ -40,7 +41,7 @@ __uClibc_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. */