summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-05-08 00:57:57 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:44 +0200
commit5aa7aa7fa7ec2a0fe567ac0b2595b46add6f3594 (patch)
tree2d0d0277a1b517151dc4625983b23b851e129cb2 /include/signal.h
parent52029220899bc6d566541de1e3da8cd21327e4a5 (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 'include/signal.h')
-rw-r--r--include/signal.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/signal.h b/include/signal.h
index 41018565d..9763713d0 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -213,7 +213,7 @@ extern int sigpause(int __sig);
#endif
#endif /* __UCLIBC_SUSV4_LEGACY__ */
-#ifdef __USE_BSD
+#if 0 /*def __USE_BSD*/
/* None of the following functions should be used anymore. They are here
only for compatibility. A single word (`int') is not guaranteed to be
enough to hold a complete signal mask and therefore these functions
@@ -223,22 +223,10 @@ extern int sigpause(int __sig);
# define sigmask(sig) __sigmask(sig)
/* Block signals in MASK, returning the old mask. */
-# ifdef _LIBC
-extern int sigblock (int __mask) __THROW;
-/* collides with libc_hidden_proto: __attribute_deprecated__; */
-libc_hidden_proto(sigblock)
-# else
extern int sigblock (int __mask) __THROW __attribute_deprecated__;
-# endif
/* Set the mask of blocked signals to MASK, returning the old mask. */
-# ifdef _LIBC
-extern int sigsetmask (int __mask) __THROW;
-/* collides with libc_hidden_proto: __attribute_deprecated__; */
-libc_hidden_proto(sigsetmask)
-# else
extern int sigsetmask (int __mask) __THROW __attribute_deprecated__;
-# endif
/* Return currently selected signal mask. */
extern int siggetmask (void) __THROW __attribute_deprecated__;