This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: patch for addr2line.c
- To: Carlo Wood <carlo at alinoe dot com>
- Subject: Re: patch for addr2line.c
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Thu, 10 Aug 2000 07:21:02 -0700
- Cc: binutils at sourceware dot cygnus dot com
- References: <20000810123411.A1915@a2000.nl>
On Thu, Aug 10, 2000 at 12:34:11PM +0200, Carlo Wood wrote:
> This removes the last compile warning (with -Wwrite-strings)
>
>
Thanks. Here is the version for the current binutils.
H.J.
---
2000-08-10 H.J. Lu <hjl@gnu.org>
* addr2line.c (main): Add const to char *.
Index: addr2line.c
===================================================================
RCS file: /work/cvs/gnu/binutils/binutils/addr2line.c,v
retrieving revision 1.9
diff -p -U2 -r1.9 addr2line.c
--- addr2line.c 2000/07/20 23:35:57 1.9
+++ addr2line.c 2000/08/10 14:16:21
@@ -277,5 +277,5 @@ main (argc, argv)
char **argv;
{
- char *filename;
+ const char *filename;
char *target;
int c;