forked from Imagelibrary/binutils-gdb
2002-12-08 Elena Zannoni <ezannoni@redhat.com>
More cleanup from import of readline 4.3. * completer.h (complete_line, readline_line_completion_function): Update prototypes. (line_completion_function): Removed, not used outside of completer.c. * completer.c (readline_line_completion_function, complete_function, line_completion_function): Use const for first parameter. (line_completion_function): Make static. (filename_completer): filename_completion_function is now called rl_filename_completion_function * corelow.c: Include <readline/readline.h>. * exec.c: Ditto. * solib.c: Ditto. * source.c: Ditto. * symfile.c: Ditto. * symmisc.c: Ditto. * top.c (init_main): No need to coerce readline_line_completion_function anymore. * cli/cli-dump.c: Include <readline/readline.h>.
This commit is contained in:
@@ -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 *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user