Mercurial > gnulib
changeset 21229:02879325c56e
(rpl_stat): Protoize.
(stat): Remove #undef.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 08 Nov 1998 03:39:42 +0000 |
parents | d203468f56a3 |
children | 74232445220a |
files | lib/stat.c |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/stat.c Sun Nov 01 01:02:24 1998 +0000 +++ b/lib/stat.c Sun Nov 08 03:39:42 1998 +0000 @@ -21,11 +21,6 @@ #include <config.h> -/* 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 <sys/types.h> #include <sys/stat.h> #include <errno.h> @@ -42,9 +37,7 @@ 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) {