]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(fdatasync): Remove function. instead, ...
authorJim Meyering <jim@meyering.net>
Sun, 24 Jan 1999 15:10:22 +0000 (15:10 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 24 Jan 1999 15:10:22 +0000 (15:10 +0000)
[! HAVE_FDATASYNC]: Define to fsync.
From Colin Plumb.

src/shred.c

index 7dec54d1caf9cb44e79b43260b8ed598005c6b13..16cf4242cb5491975b8b3cf2b08cdacc630ffc61 100644 (file)
@@ -143,11 +143,7 @@ FIXME maybe add more discussion here?\n\
 }
 
 #if ! HAVE_FDATASYNC
-static int
-fdatasync (int fd)
-{
-  return fsync (fd);
-}
+# define fdatasync(Fd) fsync (Fd)
 #endif
 
 /*