summaryrefslogtreecommitdiffstats
path: root/gdb/top.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-12-09 00:59:27 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-12-09 00:59:27 +0000
commit38017ce81c4c5f3853b46c0d497e4bcefdbac593 (patch)
treeb97d4640aead816cab67a571f474a96e35c7ff2d /gdb/top.c
parent75e3c1f98d4e0b3d89560b5981ade71c246b504b (diff)
downloadppe42-binutils-38017ce81c4c5f3853b46c0d497e4bcefdbac593.tar.gz
ppe42-binutils-38017ce81c4c5f3853b46c0d497e4bcefdbac593.zip
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>.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 3d5783fbe8..d25bc3b8a7 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1952,7 +1952,7 @@ init_main (void)
write_history_p = 0;
/* Setup important stuff for command line editing. */
- rl_completion_entry_function = (int (*)()) readline_line_completion_function;
+ rl_completion_entry_function = readline_line_completion_function;
rl_completer_word_break_characters =
get_gdb_completer_word_break_characters ();
rl_completer_quote_characters = get_gdb_completer_quote_characters ();
OpenPOWER on IntegriCloud