summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_msync.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_msync.c')
-rw-r--r--lib/libpthread/thread/thr_msync.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libpthread/thread/thr_msync.c b/lib/libpthread/thread/thr_msync.c
index 4d9a950..302f314f 100644
--- a/lib/libpthread/thread/thr_msync.c
+++ b/lib/libpthread/thread/thr_msync.c
@@ -14,16 +14,6 @@
__weak_reference(__msync, msync);
int
-_msync(void *addr, size_t len, int flags)
-{
- int ret;
-
- ret = __sys_msync(addr, len, flags);
-
- return (ret);
-}
-
-int
__msync(void *addr, size_t len, int flags)
{
int ret;
@@ -35,7 +25,7 @@ __msync(void *addr, size_t len, int flags)
* a cancellation point, as per the standard. sigh.
*/
_thread_enter_cancellation_point();
- ret = _msync(addr, len, flags);
+ ret = __sys_msync(addr, len, flags);
_thread_leave_cancellation_point();
return ret;
OpenPOWER on IntegriCloud