summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_shutdown.c')
-rw-r--r--lib/libc_r/uthread/uthread_shutdown.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_shutdown.c b/lib/libc_r/uthread/uthread_shutdown.c
index ccb087d..cffe4b6 100644
--- a/lib/libc_r/uthread/uthread_shutdown.c
+++ b/lib/libc_r/uthread/uthread_shutdown.c
@@ -39,7 +39,7 @@
#include "pthread_private.h"
int
-shutdown(int fd, int how)
+_libc_shutdown(int fd, int how)
{
int ret;
@@ -69,4 +69,6 @@ shutdown(int fd, int how)
}
return (ret);
}
+
+__weak_reference(_libc_shutdown, shutdown);
#endif
OpenPOWER on IntegriCloud