Mercurial > hg > octave-kai > gnulib-hg
changeset 1538:525b7d3e72f0
(rpl_stat): Protoize.
(stat): Remove #undef.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 08 Nov 1998 03:39:42 +0000 |
parents | b7b122cdfa91 |
children | b6fbf22cae1b |
files | lib/stat.c |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/stat.c +++ b/lib/stat.c @@ -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) {