From fba639dcdcc2f3fede71e8bcd1a1a525a7f57d61 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 29 Jan 2012 15:46:50 +0100 Subject: handle signal-OBXSI.SUSv4.syms A couple of sig functions are obsolete in SUSv4. Signed-off-by: Bernhard Reutner-Fischer --- include/signal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/signal.h') diff --git a/include/signal.h b/include/signal.h index 37ed29780..dc8679477 100644 --- a/include/signal.h +++ b/include/signal.h @@ -168,7 +168,7 @@ extern int gsignal (int __sig) __THROW; extern void psignal (int __sig, __const char *__s); #endif /* Use misc. */ - +#ifdef __UCLIBC_SUSV4_LEGACY__ /* 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 @@ -191,7 +191,7 @@ extern int sigpause (int __mask) __THROW __attribute_deprecated__; # define sigpause(sig) __sigpause ((sig), 1) # endif #endif - +#endif /* __UCLIBC_SUSV4_LEGACY__ */ #ifdef __USE_BSD /* None of the following functions should be used anymore. They are here -- cgit v1.2.3