1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-11 19:41:13 +02:00

(rpl_stat): Protoize.

(stat): Remove #undef.
This commit is contained in:
Jim Meyering
1998-11-08 03:39:42 +00:00
parent 920680fe4f
commit dc61111cc6
+1 -8
View File
@@ -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 @@ 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)
{