summaryrefslogtreecommitdiffstats
path: root/main/quagga/quagga-readline-6.3.patch
blob: 41ba831ac98d871e9d4585389efe62046c59bc96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- quagga-0.99.22.4.orig/vtysh/vtysh.c
+++ quagga-0.99.22.4/vtysh/vtysh.c
@@ -2211,9 +2211,9 @@
 vtysh_readline_init (void)
 {
   /* readline related settings. */
-  rl_bind_key ('?', (Function *) vtysh_rl_describe);
+  rl_bind_key ('?', (rl_command_func_t *) vtysh_rl_describe);
   rl_completion_entry_function = vtysh_completion_entry_function;
-  rl_attempted_completion_function = (CPPFunction *)new_completion;
+  rl_attempted_completion_function = (rl_completion_func_t *) new_completion;
   /* do not append space after completion. It will be appended
    * in new_completion() function explicitly. */
   rl_completion_append_character = '\0';