From: Jim Meyering Date: Sun, 8 Nov 1998 03:39:42 +0000 (+0000) Subject: (rpl_stat): Protoize. X-Git-Tag: FILEUTILS-4_0-b7~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc61111cc670a792d6f3c06f8db9a6e52f1d737a;p=thirdparty%2Fcoreutils.git (rpl_stat): Protoize. (stat): Remove #undef. --- diff --git a/lib/stat.c b/lib/stat.c index 11f159f84d..9b69fbee6d 100644 --- a/lib/stat.c +++ b/lib/stat.c @@ -21,11 +21,6 @@ #include -/* Disable the definition of stat to rpl_stat (from config.h) in this - file. Otherwise, we'd get conflicting prototypes for rpl_stat on - most systems. */ -#undef stat - #include #include #include @@ -42,9 +37,7 @@ extern int errno; has this bug. */ int -rpl_stat (file, sbuf) - const char *file; - struct stat *sbuf; +rpl_stat (const char *file, struct stat *sbuf) { if (file && *file == 0) {