X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=libiberty%2Frename.c;fp=libiberty%2Frename.c;h=ad342ffca65c59479667d11b77ba2ac8e52ee58a;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=05630629c1fa8ddf5bae328fbd6d9b03d51a447f;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libiberty/rename.c b/libiberty/rename.c index 05630629..ad342ffc 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) {