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.
+2014-06-18 Tom Tromey <tromey@redhat.com>
+
+ * completer.c (complete_line): Make "line_buffer" const.
+ * completer.h (complete_line): Update.
+
2014-06-18 Tom Tromey <tromey@redhat.com>
* symtab.c (add_macro_name): Remove unneeded cast.
should pretend that the line ends at POINT. */
VEC (char_ptr) *
-complete_line (const char *text, char *line_buffer, int point)
+complete_line (const char *text, const char *line_buffer, int point)
{
return complete_line_internal (text, line_buffer,
point, handle_completions);
#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,