diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-26 04:33:43 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-26 04:33:43 +0000 |
commit | 5e01789a9427a97032a19b93b126ca033da7aac8 (patch) | |
tree | 995848d439a70fd8af21b8e7f78ec008cc7dc8b1 /libc/signal/sigrelse.c | |
parent | 9921832fa13cef31006cfa69bc5574636c36ac0f (diff) | |
download | uClibc-alpine-5e01789a9427a97032a19b93b126ca033da7aac8.tar.bz2 uClibc-alpine-5e01789a9427a97032a19b93b126ca033da7aac8.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/signal/sigrelse.c')
-rw-r--r-- | libc/signal/sigrelse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/signal/sigrelse.c b/libc/signal/sigrelse.c index e2fa775bd..a1d5a8849 100644 --- a/libc/signal/sigrelse.c +++ b/libc/signal/sigrelse.c @@ -18,13 +18,13 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define sigdelset __sigdelset_internal - #define __need_NULL #include <stddef.h> -#define _GNU_SOURCE #include <signal.h> +libc_hidden_proto(sigprocmask) +libc_hidden_proto(sigdelset) + int sigrelse (sig) int sig; @@ -32,7 +32,7 @@ sigrelse (sig) sigset_t set; /* Retrieve current signal set. */ - if (__sigprocmask (SIG_SETMASK, NULL, &set) < 0) + if (sigprocmask (SIG_SETMASK, NULL, &set) < 0) return -1; /* Remove the specified signal. */ @@ -40,5 +40,5 @@ sigrelse (sig) return -1; /* Set the new mask. */ - return __sigprocmask (SIG_SETMASK, &set, NULL); + return sigprocmask (SIG_SETMASK, &set, NULL); } |