public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [obv] typename_concat: char * -> const char *
@ 2010-06-02 20:05 Jan Kratochvil
  0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2010-06-02 20:05 UTC (permalink / raw)
  To: gdb-patches

Checked-in.

http://sourceware.org/ml/gdb-cvs/2010-06/msg00018.html

--- src/gdb/ChangeLog	2010/06/02 19:37:54	1.11864
+++ src/gdb/ChangeLog	2010/06/02 20:03:40	1.11865
@@ -1,3 +1,7 @@
+2010-06-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* dwarf2read.c (typename_concat): Add const to the variable sep.
+
 2010-06-02  Tom Tromey  <tromey@redhat.com>
 
 	* dwarf2loc.h (dwarf2_per_cu_data): Declare.
--- src/gdb/dwarf2read.c	2010/06/02 19:37:55	1.391
+++ src/gdb/dwarf2read.c	2010/06/02 20:03:42	1.392
@@ -9236,7 +9236,7 @@
 typename_concat (struct obstack *obs, const char *prefix, const char *suffix, 
 		 struct dwarf2_cu *cu)
 {
-  char *sep;
+  const char *sep;
 
   if (suffix == NULL || suffix[0] == '\0' || prefix == NULL || prefix[0] == '\0')
     sep = "";

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-02 20:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-02 20:05 [obv] typename_concat: char * -> const char * Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).