From 458577aca6f7971a06dffdc2f7ff54bde45d783a Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 12 Feb 1999 11:05:30 +0000 Subject: fully prototype the cast to the line completion function. --- gnu/dist/gdb/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') 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"; -- cgit