diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2001-01-24 13:03:38 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-01-24 13:03:38 +0000 |
| commit | e5106342c6de9cbe26c4827e4e29bae309cd8cfb (patch) | |
| tree | 5199387f09deaa21f12482317c165f815c4e8c2b /lib/libpthread/thread/thr_msync.c | |
| parent | f9447cd11209a5fb5ecef3f4cbe539e990f3b1bd (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_msync.c')
| -rw-r--r-- | lib/libpthread/thread/thr_msync.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/thread/thr_msync.c b/lib/libpthread/thread/thr_msync.c index 2ae6ac75ab73..2952da8cb669 100644 --- a/lib/libpthread/thread/thr_msync.c +++ b/lib/libpthread/thread/thr_msync.c @@ -8,22 +8,23 @@ #include <sys/types.h> #include <sys/mman.h> -#ifdef _THREAD_SAFE #include <pthread.h> #include "pthread_private.h" +#pragma weak msync=__msync + int _msync(void *addr, size_t len, int flags) { int ret; - ret = _thread_sys_msync(addr, len, flags); + ret = __sys_msync(addr, len, flags); return (ret); } int -msync(void *addr, size_t len, int flags) +__msync(void *addr, size_t len, int flags) { int ret; @@ -39,4 +40,3 @@ msync(void *addr, size_t len, int flags) return ret; } -#endif |
