mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
This commit is contained in:
1 parent
4e150ea968
commit
fa751c2b25
1 file changed
+1
-11
+1
-11
@@ -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
|
||||
|
||||
Reference in new issue
Block a user