From: Jim Meyering Date: Sun, 8 Nov 1998 03:39:42 +0000 (+0000) Subject: (rpl_stat): Protoize. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=915825a9666a397e60f9e38695afd289f1da74b3;p=pspp (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) {