]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stdlib.h>, <string.h> unconditionally.
authorJim Meyering <jim@meyering.net>
Thu, 11 Sep 2003 09:06:31 +0000 (09:06 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 11 Sep 2003 09:06:31 +0000 (09:06 +0000)
(free): Remove decl.

lib/rename.c

index 4a4c165b2c554a1bccb050f77a59c62442b8eb64..6ff0705323438851927090b6616fa91730012645 100644 (file)
 #undef rename
 
 #include <stdio.h>
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-
-#if HAVE_STRING_H
-# include <string.h>
-#else
-# include <strings.h>
-#endif
+#include <stdlib.h>
+#include <string.h>
 
 #include "dirname.h"
 #include "xalloc.h"
 
-#ifndef HAVE_DECL_FREE
-"this configure-time declaration test was not run"
-#endif
-#if !HAVE_DECL_FREE
-void free ();
-#endif
-
 /* Rename the file SRC_PATH to DST_PATH, removing any trailing
    slashes from SRC_PATH.  Needed for SunOS 4.1.1_U1.  */