summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_wait4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_wait4.c')
-rw-r--r--lib/libpthread/thread/thr_wait4.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_wait4.c b/lib/libpthread/thread/thr_wait4.c
index 4a58a70..4c3f1de 100644
--- a/lib/libpthread/thread/thr_wait4.c
+++ b/lib/libpthread/thread/thr_wait4.c
@@ -38,7 +38,7 @@
#include "pthread_private.h"
pid_t
-wait4(pid_t pid, int *istat, int options, struct rusage * rusage)
+_libc_wait4(pid_t pid, int *istat, int options, struct rusage * rusage)
{
pid_t ret;
@@ -66,4 +66,6 @@ wait4(pid_t pid, int *istat, int options, struct rusage * rusage)
return (ret);
}
+
+__weak_reference(_libc_wait4, wait4);
#endif
OpenPOWER on IntegriCloud