diff options
Diffstat (limited to 'lib/libc/sys/msync.c')
-rw-r--r-- | lib/libc/sys/msync.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/sys/msync.c b/lib/libc/sys/msync.c index d86cc0462dd8..f825db97b947 100644 --- a/lib/libc/sys/msync.c +++ b/lib/libc/sys/msync.c @@ -1,6 +1,5 @@ /* * Copyright (c) 2014 The FreeBSD Foundation. - * All rights reserved. * * Portions of this software were developed by Konstantin Belousov * under sponsorship from the FreeBSD Foundation. @@ -30,9 +29,6 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/types.h> #include <sys/fcntl.h> #include <sys/mman.h> @@ -44,7 +40,5 @@ __weak_reference(__sys_msync, __msync); int msync(void *addr, size_t len, int flags) { - - return (((int (*)(void *, size_t, int)) - __libc_interposing[INTERPOS_msync])(addr, len, flags)); + return (INTERPOS_SYS(msync, addr, len, flags)); } |