diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-05-08 00:57:57 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:44 +0200 |
commit | 5aa7aa7fa7ec2a0fe567ac0b2595b46add6f3594 (patch) | |
tree | 2d0d0277a1b517151dc4625983b23b851e129cb2 /libc/signal/sigblock.c | |
parent | 52029220899bc6d566541de1e3da8cd21327e4a5 (diff) |
signal: remove sigblock, siggetmask and sigsetmask
rcmd.c uses sigblock and sigsetmask, make the function static and include them directly until
a rewrite is done.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/signal/sigblock.c')
-rw-r--r-- | libc/signal/sigblock.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) |