summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_fsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_fsync.c')
-rw-r--r--lib/libc_r/uthread/uthread_fsync.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_fsync.c b/lib/libc_r/uthread/uthread_fsync.c
index 21c3b56..048e60b 100644
--- a/lib/libc_r/uthread/uthread_fsync.c
+++ b/lib/libc_r/uthread/uthread_fsync.c
@@ -37,7 +37,7 @@
#include "pthread_private.h"
int
-fsync(int fd)
+_libc_fsync(int fd)
{
int ret;
@@ -49,4 +49,6 @@ fsync(int fd)
_thread_leave_cancellation_point();
return (ret);
}
+
+__weak_reference(_libc_fsync, fsync);
#endif
OpenPOWER on IntegriCloud