[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/sh
vapier at uclibc.org
vapier at uclibc.org
Tue Aug 9 04:52:29 UTC 2005
Author: vapier
Date: 2005-08-08 22:52:29 -0600 (Mon, 08 Aug 2005)
New Revision: 11071
Log:
use sigprocmask instead of internal __sigprocmask since __ version doesnt always exist
Modified:
trunk/uClibc/libc/sysdeps/linux/sh/longjmp.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/sh/longjmp.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sh/longjmp.c 2005-08-09 04:51:15 UTC (rev 11070)
+++ trunk/uClibc/libc/sysdeps/linux/sh/longjmp.c 2005-08-09 04:52:29 UTC (rev 11071)
@@ -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 @@
{
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. */
More information about the uClibc-cvs
mailing list