X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=libiberty%2Frename.c;h=ad342ffca65c59479667d11b77ba2ac8e52ee58a;hb=7cac64af7bc6a7f7a86f90a1465f7c3d2b6f07e8;hp=05630629c1fa8ddf5bae328fbd6d9b03d51a447f;hpb=2ee563b53258d390d7446e90a67f465d504ae44c;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/rename.c b/libiberty/rename.c index 05630629c1..ad342ffca6 100644 --- a/libiberty/rename.c +++ b/libiberty/rename.c @@ -12,6 +12,7 @@ exists, it is removed. */ +#include "ansidecl.h" #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -21,9 +22,7 @@ exists, it is removed. #endif int -rename (zfrom, zto) - char *zfrom; - char *zto; +rename (const char *zfrom, const char *zto) { if (link (zfrom, zto) < 0) {