X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frename.c;h=13b86d043154f6a260f94d2df9e6c359b8fd936a;hb=e30534ef7f3959dae83eb750d44186a7b9b56c73;hp=29a8da44bda175003a35af969db8fe8df229e685;hpb=707c315df7fd9e2c14a14e95879650ae8ed251c4;p=gnulib.git diff --git a/lib/rename.c b/lib/rename.c index 29a8da44b..13b86d043 100644 --- a/lib/rename.c +++ b/lib/rename.c @@ -30,7 +30,8 @@ # include #endif -#include +#include "dirname.h" +#include "xalloc.h" #ifndef HAVE_DECL_FREE "this configure-time declaration test was not run" @@ -39,8 +40,6 @@ void free (); #endif -void strip_trailing_slashes (); - /* Rename the file SRC_PATH to DST_PATH, removing any trailing slashes from SRC_PATH. Needed for SunOS 4.1.1_U1. */