From 4047915b1b1d475f6f0db2af69b75da5c023cea6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 12 Aug 2000 00:47:48 +0000 Subject: [PATCH] 2000-08-11 Carlo Wood * addr2line.c (main): Add const to char *. --- binutils/ChangeLog | 4 ++++ binutils/addr2line.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a7aed1620a..227423b268 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2000-08-11 Carlo Wood + + * addr2line.c (main): Add const to char *. + 2000-08-11 Geoff Keating * ar.c (main): Don't crash if called with no arguments diff --git a/binutils/addr2line.c b/binutils/addr2line.c index 9232a9e63c..1a66e70f80 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;