(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 7dec54d..16cf424 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
 
 /*