diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-11 09:08:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-11 09:08:29 +0000 |
commit | fa751c2b25039902b29ce8e91bce15e7b0baca5c (patch) | |
tree | 07a33af72b681b83cc7137308d0a0222cf8e5221 /lib | |
parent | 4e150ea96876261713a633e670c35ec982d7bedd (diff) | |
download | coreutils-fa751c2b25039902b29ce8e91bce15e7b0baca5c.tar.xz |
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stat.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/stat.c b/lib/stat.c index 284da0cbc..f8fc82ebc 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 |