diff options
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 9b91e0c..7be135e 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -315,9 +315,7 @@ static void ada_free_symbol_cache (struct ada_symbol_cache *sym_cache); /* Maximum-sized dynamic type. */ static unsigned int varsize_limit; -/* FIXME: brobecker/2003-09-17: No longer a const because it is - returned by a function that does not return a const char *. */ -static char *ada_completer_word_break_characters = +static const char ada_completer_word_break_characters[] = #ifdef VMS " \t\n!@#%^&*()+=|~`}{[]\";:?/,-"; #else @@ -558,7 +556,7 @@ add_angle_brackets (const char *str) return result; } -static char * +static const char * ada_get_gdb_completer_word_break_characters (void) { return ada_completer_word_break_characters; |