diff options
| author | christos <christos@NetBSD.org> | 1999-02-12 11:05:30 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1999-02-12 11:05:30 +0000 |
| commit | 458577aca6f7971a06dffdc2f7ff54bde45d783a (patch) | |
| tree | 01c4bc314fcc01e70379face495e6dae6f53a683 /gnu | |
| parent | ccc6fbda81c4f53faec43b8d9769848e68df9acf (diff) | |
fully prototype the cast to the line completion function.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gdb/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/dist/gdb/top.c b/gnu/dist/gdb/top.c index 1d17cf5efee..0680077affe 100644 --- a/gnu/dist/gdb/top.c +++ b/gnu/dist/gdb/top.c @@ -3653,7 +3653,7 @@ init_main () write_history_p = 0; /* Setup important stuff for command line editing. */ - rl_completion_entry_function = (char *(*)()) readline_line_completion_function; + rl_completion_entry_function = (char *(*)(const char *, int)) readline_line_completion_function; rl_completer_word_break_characters = gdb_completer_word_break_characters; rl_completer_quote_characters = gdb_completer_quote_characters; rl_readline_name = "gdb"; |
