diff options
author | Tom Tromey <tromey@redhat.com> | 2013-04-15 10:22:12 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-06-18 08:16:58 -0600 |
commit | 1834676b5f9a7f425b68d181da85f96fe246e03b (patch) | |
tree | b394abed93aa63bb954f99993b28f5554abf5900 /gdb/completer.h | |
parent | ac1a991b1c00891d29607a6f97d98d66312af83f (diff) | |
download | gdb-1834676b5f9a7f425b68d181da85f96fe246e03b.zip gdb-1834676b5f9a7f425b68d181da85f96fe246e03b.tar.gz gdb-1834676b5f9a7f425b68d181da85f96fe246e03b.tar.bz2 |
constify complete_line
This changes complete_line to take a const parameter.
2014-06-18 Tom Tromey <tromey@redhat.com>
* completer.c (complete_line): Make "line_buffer" const.
* completer.h (complete_line): Update.
Diffstat (limited to 'gdb/completer.h')
-rw-r--r-- | gdb/completer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/completer.h b/gdb/completer.h index 5b90773..7aa0f3b 100644 --- a/gdb/completer.h +++ b/gdb/completer.h @@ -20,7 +20,7 @@ #include "gdb_vecs.h" extern VEC (char_ptr) *complete_line (const char *text, - char *line_buffer, + const char *line_buffer, int point); extern char *readline_line_completion_function (const char *text, |