This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch for addr2line.c


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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]