diff options
| author | Jonathan Mini <mini@FreeBSD.org> | 2002-09-16 19:52:52 +0000 |
|---|---|---|
| committer | Jonathan Mini <mini@FreeBSD.org> | 2002-09-16 19:52:52 +0000 |
| commit | 255ab70cdf6eb0005e7494657f35d318f666de50 (patch) | |
| tree | 19954471d255ce812e704c80bd079f406bc31378 /lib/libpthread/thread/thr_msync.c | |
| parent | 51f42932d165603bcfdafe9d900a392fd821a9eb (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_msync.c')
| -rw-r--r-- | lib/libpthread/thread/thr_msync.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libpthread/thread/thr_msync.c b/lib/libpthread/thread/thr_msync.c index 4d9a95093c1a..302f314fcf85 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; |
