summaryrefslogtreecommitdiff
path: root/libiberty/rename.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2003-04-15 21:36:21 +0000
committerDJ Delorie <dj@delorie.com>2003-04-15 21:36:21 +0000
commit2bd4afdef7635ea1361f972b1d00df78cf688258 (patch)
treedc8de190bd4e1cd406c50bfab0bb9a4e39a5d136 /libiberty/rename.c
parent3029279d623eec67126cbe6994ceffdd16907b5b (diff)
downloadgdb-2bd4afdef7635ea1361f972b1d00df78cf688258.tar.gz
merge from gcc
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 05630629c1f..399980ab7d7 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)
{