From dac98a2fb4f5e62ea7cb5fe5a5d65fac4b8e1039 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 31 Aug 1997 21:02:35 +0000 Subject: [PATCH] *** empty log message *** --- lib/lstat.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/lstat.c b/lib/lstat.c index eb7b22843f..4e220973d1 100644 --- a/lib/lstat.c +++ b/lib/lstat.c @@ -20,6 +20,12 @@ /* written by Jim Meyering */ #include + +/* Disable the definition of lstat to rpl_lstat (from config.h) in this + file. Otherwise, we'd get conflicting prototypes for rpl_lstat on + most systems. */ +#undef lstat + #include #include #include @@ -30,7 +36,7 @@ extern int errno; /* FIXME: describe. */ int -lstat (file, sbuf) +rpl_lstat (file, sbuf) const char *file; struct stat *sbuf; { @@ -40,7 +46,5 @@ lstat (file, sbuf) return -1; } -#undef lstat - return lstat (file, sbuf); } -- 2.30.2