summaryrefslogtreecommitdiff
path: root/lib/stat.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-09-10 06:53:45 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2003-09-10 06:53:45 +0000
commitd01e199f674be88351d5956a13fe6dc406efacb5 (patch)
tree42841d7d42fade7c6bd926c5f79867658d95b160 /lib/stat.c
parent3c634821894104eaaeaa6a21f615262bf6535462 (diff)
downloadgnulib-d01e199f674be88351d5956a13fe6dc406efacb5.tar.gz
Remove K&R cruft.
Diffstat (limited to 'lib/stat.c')
-rw-r--r--lib/stat.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/stat.c b/lib/stat.c
index 284da0cbc8..f8fc82ebce 100644
--- a/lib/stat.c
+++ b/lib/stat.c
@@ -31,12 +31,9 @@
extern int errno;
#endif
#if defined LSTAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK
+# include <stdlib.h>
# include <string.h>
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-
# ifdef STAT_MACROS_BROKEN
# undef S_ISLNK
# endif
@@ -49,13 +46,6 @@ extern int errno;
# endif
# endif
-# ifndef HAVE_DECL_FREE
-"this configure-time declaration test was not run"
-# endif
-# if !HAVE_DECL_FREE
-void free ();
-# endif
-
# include "xalloc.h"
/* lstat works differently on Linux and Solaris systems. POSIX (see