From dc61111cc670a792d6f3c06f8db9a6e52f1d737a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 8 Nov 1998 03:39:42 +0000 Subject: [PATCH] (rpl_stat): Protoize. (stat): Remove #undef. --- lib/stat.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/stat.c b/lib/stat.c index 11f159f..9b69fbe 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) { -- 2.7.4