From: Jim Meyering Date: Sun, 24 Jan 1999 15:10:22 +0000 (+0000) Subject: (fdatasync): Remove function. instead, ... X-Git-Tag: TEXTUTILS-1_22h~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26756c6f8263e68fbd6d079994f6c5b3bb79db77;p=thirdparty%2Fcoreutils.git (fdatasync): Remove function. instead, ... [! HAVE_FDATASYNC]: Define to fsync. From Colin Plumb. --- diff --git a/src/shred.c b/src/shred.c index 7dec54d1ca..16cf4242cb 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 /*