From 6077cee24228562d15e285d132213eeb718439b7 Mon Sep 17 00:00:00 2001 From: mini Date: Mon, 16 Sep 2002 19:52:52 +0000 Subject: Make libpthread KSE aware. Reviewed by: deischen, julian Approved by: -arch --- lib/libpthread/thread/thr_msync.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'lib/libpthread/thread/thr_msync.c') 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; -- cgit v1.1