diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-02 20:03:42 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-02 20:03:42 +0000 |
commit | 5c315b68907cbee516094215812012ac65aa0ab0 (patch) | |
tree | c0e0b228d37b3fb4de54785f4b23c3449f86e0cf /gdb/dwarf2read.c | |
parent | a8d52276eef1d657f8bb0a72341e780e9f279855 (diff) | |
download | gdb-5c315b68907cbee516094215812012ac65aa0ab0.zip gdb-5c315b68907cbee516094215812012ac65aa0ab0.tar.gz gdb-5c315b68907cbee516094215812012ac65aa0ab0.tar.bz2 |
gdb/
* dwarf2read.c (typename_concat): Add const to the variable sep.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index b05b99a..60ed9e4 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -9236,7 +9236,7 @@ static char * 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 = ""; |