summaryrefslogtreecommitdiff
path: root/gdb/completer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/completer.h')
-rw-r--r--gdb/completer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/completer.h b/gdb/completer.h
index b0362314e7e..7a96951aae3 100644
--- a/gdb/completer.h
+++ b/gdb/completer.h
@@ -19,11 +19,9 @@
#if !defined (COMPLETER_H)
#define COMPLETER_H 1
-extern char **complete_line (char *text, char *line_buffer, int point);
+extern char **complete_line (const char *text, char *line_buffer, int point);
-extern char *line_completion_function (char *, int, char *, int);
-
-extern char *readline_line_completion_function (char *text, int matches);
+extern char *readline_line_completion_function (const char *text, int matches);
extern char **noop_completer (char *, char *);