aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/addr2line.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a7aed16..227423b 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-11 Carlo Wood <carlo@alinoe.com>
+
+ * addr2line.c (main): Add const to char *.
+
2000-08-11 Geoff Keating <geoffk@cygnus.com>
* ar.c (main): Don't crash if called with no arguments
diff --git a/binutils/addr2line.c b/binutils/addr2line.c
index 9232a9e..1a66e70 100644
--- a/binutils/addr2line.c
+++ b/binutils/addr2line.c
@@ -271,7 +271,7 @@ main (argc, argv)
int argc;
char **argv;
{
- char *filename;
+ const char *filename;
char *target;
int c;