summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-09-18 22:09:16 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-09-18 22:09:16 -0700
commitc52a45aad057c4b89d05730a543d0fdc4dfcce81 (patch)
tree963fb5ae3918e9aecee84228a4be6d1b98c37533
parent09cd1eed760f95300dd8cef86de4c4c4bc393e24 (diff)
downloaduClibc-alpine-c52a45aad057c4b89d05730a543d0fdc4dfcce81.tar.bz2
uClibc-alpine-c52a45aad057c4b89d05730a543d0fdc4dfcce81.tar.xz
sigwait: remove __sigwait for realtime case as well
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--libc/signal/sigwait.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c
index 2bb817000..917e3d7be 100644
--- a/libc/signal/sigwait.c
+++ b/libc/signal/sigwait.c
@@ -72,7 +72,7 @@ else
return ret;
}
-int sigwait(const sigset_t *set, int *sig)
+int sigwait (const sigset_t *set, int *sig)
{
if(SINGLE_THREAD_P)
return do_sigwait(set, sig);
@@ -90,10 +90,9 @@ int sigwait(const sigset_t *set, int *sig)
# endif
#else /* __UCLIBC_HAS_THREADS_NATIVE__ */
-# if define __UCLIBC_HAS_REALTIME__
+# if defined __UCLIBC_HAS_REALTIME__
-int __sigwait (const sigset_t *set, int *sig) attribute_hidden;
-int __sigwait (const sigset_t *set, int *sig)
+int sigwait (const sigset_t *set, int *sig)
{
int ret = 1;
if ((ret = sigwaitinfo(set, NULL)) != -1) {