e8c499e893d36080e9909b62af04713c0c3f6aba
[feed/routing.git] / quagga / patches / 110-vtysh-fix-build-against-readline-6.3.patch
1 --- a/vtysh/vtysh.c
2 +++ b/vtysh/vtysh.c
3 @@ -2211,9 +2211,9 @@
4 vtysh_readline_init (void)
5 {
6 /* readline related settings. */
7 - rl_bind_key ('?', (Function *) vtysh_rl_describe);
8 + rl_bind_key ('?', (rl_command_func_t *) vtysh_rl_describe);
9 rl_completion_entry_function = vtysh_completion_entry_function;
10 - rl_attempted_completion_function = (CPPFunction *)new_completion;
11 + rl_attempted_completion_function = (rl_completion_func_t *) new_completion;
12 /* do not append space after completion. It will be appended
13 * in new_completion() function explicitly. */
14 rl_completion_append_character = '\0';
15