summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_sigsuspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_sigsuspend.c')
-rw-r--r--lib/libpthread/thread/thr_sigsuspend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_sigsuspend.c b/lib/libpthread/thread/thr_sigsuspend.c
index ac06ff7..b64897a 100644
--- a/lib/libpthread/thread/thr_sigsuspend.c
+++ b/lib/libpthread/thread/thr_sigsuspend.c
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-sigsuspend(const sigset_t * set)
+_libc_sigsuspend(const sigset_t * set)
{
int ret = -1;
sigset_t oset;
@@ -67,4 +67,6 @@ sigsuspend(const sigset_t * set)
/* Return the completion status: */
return (ret);
}
+
+__weak_reference(_libc_sigsuspend, sigsuspend);
#endif
OpenPOWER on IntegriCloud