summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-22 22:20:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-22 23:47:24 +0200
commit58a5ba12bffad5916d9897c2870fc483f1db8282 (patch)
tree5a8f178deea7839831d275f968254fd9b944a4dd /include/signal.h
parentcdc93474623ced1357303ef2ac8e96b65d37615d (diff)
remove __FAVOR_BSD
Remove __FAVOR_BSD and sync with GNU C library Some issues compiling knock application fixed. Reported-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/include/signal.h b/include/signal.h
index 38292a715..d2d5e4aa6 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -191,27 +191,15 @@ extern void psiginfo (const siginfo_t *__pinfo, const char *__s);
/* The `sigpause' function has two different interfaces. The original
BSD definition defines the argument as a mask of the signal, while
the more modern interface in X/Open defines it as the signal
- number. We go with the BSD version unless the user explicitly
- selects the X/Open version.
+ number. We go with the X/Open version.
This function is a cancellation point and therefore not marked with
__THROW. */
-/*extern int __sigpause (int __sig_or_mask, int __is_sig);*/
-
-#ifdef __FAVOR_BSD
-/* Set the mask of blocked signals to MASK,
- wait for a signal to arrive, and then restore the mask. */
-/*extern int sigpause (int __mask) __THROW __attribute_deprecated__;
-# define sigpause(mask) __sigpause ((mask), 0)*/
-/* uClibc note: BSD sigpause is available as __bsd_sigpause.
- * It is intentionally not prototyped */
-#else
-# ifdef __USE_XOPEN
+
+# ifdef __USE_XOPEN_EXTENDED
/* Remove a signal from the signal mask and suspend the process. */
extern int sigpause(int __sig);
-/*# define sigpause(sig) __sigpause ((sig), 1)*/
# endif
-#endif
#endif /* __UCLIBC_SUSV4_LEGACY__ */
#if 0 /*def __USE_BSD*/