aboutsummaryrefslogtreecommitdiff
path: root/libiberty/rename.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-04-15 21:29:34 +0000
committerDJ Delorie <dj@redhat.com>2003-04-15 21:29:34 +0000
commit1ea16ec5b465e30a034cba7bae02ccb0eac546fd (patch)
treeac013c05bb844fe88c352ed281537b54a7288f76 /libiberty/rename.c
parentbb32582095610c5d98aa6285bfe92a7cf52b5047 (diff)
downloadgdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.zip
gdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.tar.gz
gdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.tar.bz2
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 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)
{