X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frename.c;h=6ff0705323438851927090b6616fa91730012645;hb=a0defda0c17171194c0d1f2957ba808629db61d4;hp=4a4c165b2c554a1bccb050f77a59c62442b8eb64;hpb=590547f814cc8448c5032f2f927cc26d26904e95;p=gnulib.git diff --git a/lib/rename.c b/lib/rename.c index 4a4c165b2..6ff070532 100644 --- a/lib/rename.c +++ b/lib/rename.c @@ -25,26 +25,12 @@ #undef rename #include -#if HAVE_STDLIB_H -# include -#endif - -#if HAVE_STRING_H -# include -#else -# include -#endif +#include +#include #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. */