Merge pull request #69 from stintel/bird_update
[lede-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