From: Jim Meyering Date: Sun, 8 Nov 1998 03:39:42 +0000 (+0000) Subject: (rpl_stat): Protoize. X-Git-Tag: cvs-readonly~7634 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=915825a9666a397e60f9e38695afd289f1da74b3;p=gnulib.git (rpl_stat): Protoize. (stat): Remove #undef. --- diff --git a/lib/stat.c b/lib/stat.c index 11f159f84..9b69fbee6 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) {