From: H.J. Lu Date: Sat, 12 Aug 2000 00:47:48 +0000 (+0000) Subject: 2000-08-11 Carlo Wood X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4047915b1b1d475f6f0db2af69b75da5c023cea6;p=binutils-gdb.git 2000-08-11 Carlo Wood * addr2line.c (main): Add const to char *. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a7aed1620a2..227423b268e 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 9232a9e63c0..1a66e70f802 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;