summaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/language.h b/gdb/language.h
index b191b364f19..e36da31be69 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -286,7 +286,8 @@ struct language_defn
completion is being made. If CODE is TYPE_CODE_UNDEF, then all
symbols should be examined; otherwise, only STRUCT_DOMAIN
symbols whose type has a code of CODE should be matched. */
- VEC (char_ptr) *(*la_make_symbol_completion_list) (char *text, char *word,
+ VEC (char_ptr) *(*la_make_symbol_completion_list) (const char *text,
+ const char *word,
enum type_code code);
/* The per-architecture (OS/ABI) language information. */