diff options
author | Mark Kettenis <kettenis@gnu.org> | 2008-04-19 11:39:50 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2008-04-19 11:39:50 +0000 |
commit | 7fc830e29069561bcd3670759e17ffd46f0b67fd (patch) | |
tree | 706c6bca4e932313f14e1cd42a9d3794f92429bd /gdb | |
parent | bb2edc7f626ed54d133432a619f67c85e0c69f36 (diff) | |
download | gdb-7fc830e29069561bcd3670759e17ffd46f0b67fd.zip gdb-7fc830e29069561bcd3670759e17ffd46f0b67fd.tar.gz gdb-7fc830e29069561bcd3670759e17ffd46f0b67fd.tar.bz2 |
* symtab.c: (multiple_symbols_modes, multiple_symbols_ask)
(multiple_symbols_cancel): Remove extra const.
* symtab.h: Likewise.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/symtab.c | 6 | ||||
-rw-r--r-- | gdb/symtab.h | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0c826cf..9f104fc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-04-19 Mark Kettenis <kettenis@gnu.org> + + * symtab.c: (multiple_symbols_modes, multiple_symbols_ask) + (multiple_symbols_cancel): Remove extra const. + * symtab.h: Likewise. + 2008-04-19 Nick Roberts <nickrob@snap.net.nz> * interps.c (top_level_interpreter): Rename static variable... diff --git a/gdb/symtab.c b/gdb/symtab.c index 6422db4..5eb1d9d 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -128,9 +128,9 @@ void _initialize_symtab (void); to multiple-choice menus when more than one symbol matches during a symbol lookup. */ -const char const multiple_symbols_ask[] = "ask"; -const char const multiple_symbols_all[] = "all"; -const char const multiple_symbols_cancel[] = "cancel"; +const char multiple_symbols_ask[] = "ask"; +const char multiple_symbols_all[] = "all"; +const char multiple_symbols_cancel[] = "cancel"; static const char *multiple_symbols_modes[] = { multiple_symbols_ask, diff --git a/gdb/symtab.h b/gdb/symtab.h index 65b1cb4..ffcc446 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -998,9 +998,9 @@ extern int asm_demangle; /* symtab.c lookup functions */ -extern const char const multiple_symbols_ask[]; -extern const char const multiple_symbols_all[]; -extern const char const multiple_symbols_cancel[]; +extern const char multiple_symbols_ask[]; +extern const char multiple_symbols_all[]; +extern const char multiple_symbols_cancel[]; const char *multiple_symbols_select_mode (void); |