aboutsummaryrefslogtreecommitdiff
path: root/libiberty/rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/rename.c')
-rw-r--r--libiberty/rename.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/rename.c b/libiberty/rename.c
index 0563062..399980a 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
@@ -22,8 +23,8 @@ exists, it is removed.
int
rename (zfrom, zto)
- char *zfrom;
- char *zto;
+ const char *zfrom;
+ const char *zto;
{
if (link (zfrom, zto) < 0)
{