summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-24 15:10:22 +0000
committerJim Meyering <jim@meyering.net>1999-01-24 15:10:22 +0000
commit26756c6f8263e68fbd6d079994f6c5b3bb79db77 (patch)
treea830cd25dc99b3dfddbdc3f5b1d537346e21fcc8 /src
parent604691004db226feba6bb3e09cd76474e78465ef (diff)
downloadcoreutils-26756c6f8263e68fbd6d079994f6c5b3bb79db77.tar.xz
(fdatasync): Remove function. instead, ...
[! HAVE_FDATASYNC]: Define to fsync. From Colin Plumb.
Diffstat (limited to 'src')
-rw-r--r--src/shred.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/shred.c b/src/shred.c
index 7dec54d1c..16cf4242c 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -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
/*