projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates from libc,automake
[gnulib.git]
/
lib
/
stat.c
diff --git
a/lib/stat.c
b/lib/stat.c
index
284da0c
..
f8fc82e
100644
(file)
--- a/
lib/stat.c
+++ b/
lib/stat.c
@@
-31,12
+31,9
@@
extern int errno;
#endif
#if defined LSTAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK
extern int errno;
#endif
#if defined LSTAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK
+# include <stdlib.h>
# include <string.h>
# include <string.h>
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-
# ifdef STAT_MACROS_BROKEN
# undef S_ISLNK
# endif
# ifdef STAT_MACROS_BROKEN
# undef S_ISLNK
# endif
@@
-49,13
+46,6
@@
extern int errno;
# endif
# endif
# 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
# include "xalloc.h"
/* lstat works differently on Linux and Solaris systems. POSIX (see