diff options
Diffstat (limited to 'lib/libc/sys/fsync.c')
-rw-r--r-- | lib/libc/sys/fsync.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/sys/fsync.c b/lib/libc/sys/fsync.c index 5f1512932baa..e542c8cdea48 100644 --- a/lib/libc/sys/fsync.c +++ b/lib/libc/sys/fsync.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 <unistd.h> @@ -43,6 +39,5 @@ __weak_reference(__sys_fsync, __fsync); int fsync(int fd) { - - return (((int (*)(int))__libc_interposing[INTERPOS_fsync])(fd)); + return (INTERPOS_SYS(fsync, fd)); } |