X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsame.c;h=7dad198671a3eeb2adac22024f74b7fb161d0850;hb=55da53d0db0c7a9fd82b2abc809560b3089df6a5;hp=d41cccc46138da457f92b690d127f882791ebf0d;hpb=437df36c45f7643f0b40d2dc5100b2490613702d;p=gnulib.git diff --git a/lib/same.c b/lib/same.c index d41cccc46..7dad19867 100644 --- a/lib/same.c +++ b/lib/same.c @@ -25,9 +25,7 @@ #ifdef HAVE_UNISTD_H # include #endif -#if HAVE_STDLIB_H -# include -#endif +#include #include #include #include @@ -36,24 +34,13 @@ extern int errno; #endif -#if HAVE_STRING_H -# include -#else -# include -#endif +#include #include "same.h" #include "dirname.h" #include "error.h" #include "xalloc.h" -#ifndef HAVE_DECL_FREE -"this configure-time declaration test was not run" -#endif -#if !HAVE_DECL_FREE -void free (); -#endif - #define SAME_INODE(Stat_buf_1, Stat_buf_2) \ ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \ && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev)