From 7fc830e29069561bcd3670759e17ffd46f0b67fd Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 19 Apr 2008 11:39:50 +0000 Subject: [PATCH] * symtab.c: (multiple_symbols_modes, multiple_symbols_ask) (multiple_symbols_cancel): Remove extra const. * symtab.h: Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/symtab.c | 6 +++--- gdb/symtab.h | 6 +++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0c826cff405..9f104fcc83a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-04-19 Mark Kettenis + + * symtab.c: (multiple_symbols_modes, multiple_symbols_ask) + (multiple_symbols_cancel): Remove extra const. + * symtab.h: Likewise. + 2008-04-19 Nick Roberts * interps.c (top_level_interpreter): Rename static variable... diff --git a/gdb/symtab.c b/gdb/symtab.c index 6422db43ee9..5eb1d9d25da 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 65b1cb4edf1..ffcc446e33b 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); -- 2.30.2