diff options
Diffstat (limited to 'lib/libpthread/thread/thr_fsync.c')
-rw-r--r-- | lib/libpthread/thread/thr_fsync.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_fsync.c b/lib/libpthread/thread/thr_fsync.c index 21c3b56..048e60b 100644 --- a/lib/libpthread/thread/thr_fsync.c +++ b/lib/libpthread/thread/thr_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 |