summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_ioctl.c')
-rw-r--r--lib/libc_r/uthread/uthread_ioctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_ioctl.c b/lib/libc_r/uthread/uthread_ioctl.c
index f2c4531..1857643 100644
--- a/lib/libc_r/uthread/uthread_ioctl.c
+++ b/lib/libc_r/uthread/uthread_ioctl.c
@@ -39,7 +39,7 @@
#include "pthread_private.h"
int
-ioctl(int fd, unsigned long request,...)
+_libc_ioctl(int fd, unsigned long request,...)
{
int ret;
int *op;
@@ -76,4 +76,6 @@ ioctl(int fd, unsigned long request,...)
/* Return the completion status: */
return (ret);
}
+
+__weak_reference(_libc_ioctl, ioctl);
#endif
OpenPOWER on IntegriCloud