diff options
Diffstat (limited to 'libc/signal')
-rw-r--r-- | libc/signal/Makefile.in | 4 | ||||
-rw-r--r-- | libc/signal/sigblock.c | 5 | ||||
-rw-r--r-- | libc/signal/sigsetmask.c | 5 |
3 files changed, 6 insertions, 8 deletions
diff --git a/libc/signal/Makefile.in b/libc/signal/Makefile.in index 1eaa9f07a..c9f74ee13 100644 --- a/libc/signal/Makefile.in +++ b/libc/signal/Makefile.in @@ -8,9 +8,9 @@ subdirs += libc/signal CSRC-y := allocrtsig.c killpg.c raise.c sigaction.c sigaddset.c sigandset.c \ - sigblock.c sigdelset.c sigempty.c sigfillset.c siggetmask.c \ + sigdelset.c sigempty.c sigfillset.c \ sigisempty.c sigismem.c sigjmp.c signal.c \ - sigorset.c sigsetmask.c sigsetops.c sigwait.c + sigorset.c sigsetops.c sigwait.c CSRC-$(UCLIBC_HAS_OBSOLETE_BSD_SIGNAL) += \ sighold.c sigignore.c sigrelse.c sigset.c CSRC-$(UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL) += sysv_signal.c diff --git a/libc/signal/sigblock.c b/libc/signal/sigblock.c index c3ce36307..cb3b26519 100644 --- a/libc/signal/sigblock.c +++ b/libc/signal/sigblock.c @@ -16,13 +16,13 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define __UCLIBC_HIDE_DEPRECATED__ +/*#define __UCLIBC_HIDE_DEPRECATED__*/ #include <signal.h> #include "sigset-cvt-mask.h" /* Block signals in MASK, returning the old mask. */ -int sigblock (int mask) +static int sigblock (int mask) { sigset_t set, oset; @@ -30,4 +30,3 @@ int sigblock (int mask) sigprocmask (SIG_BLOCK, &set, &oset); /* can't fail */ return sigset_get_old_mask (&oset); } -libc_hidden_def(sigblock) diff --git a/libc/signal/sigsetmask.c b/libc/signal/sigsetmask.c index 0a731795d..df040a65d 100644 --- a/libc/signal/sigsetmask.c +++ b/libc/signal/sigsetmask.c @@ -16,13 +16,13 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define __UCLIBC_HIDE_DEPRECATED__ +/*#define __UCLIBC_HIDE_DEPRECATED__*/ #include <signal.h> #include "sigset-cvt-mask.h" /* Set the mask of blocked signals to MASK, returning the old mask. */ -int +static int sigsetmask (int mask) { sigset_t set, oset; @@ -31,4 +31,3 @@ sigsetmask (int mask) sigprocmask (SIG_SETMASK, &set, &oset); /* can't fail */ return sigset_get_old_mask (&oset); } -libc_hidden_def(sigsetmask) |