summaryrefslogtreecommitdiff
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-09-15 06:50:53 +0000
committerhasso <hasso>2005-09-15 06:50:53 +0000
commit53a6f932032a30625358414ae0f77790656ccaca (patch)
treeaa5b33c8e58024ba68543ad8e2c3eaaa36984fd8 /vtysh/vtysh.c
parentca16218df74a43491e34a577db5023c89a7e79c8 (diff)
* vtysh.c: Fix warning by casting rl_bind_key 2. argument correctly.
* extract.pl.in: Fix warning - add isisd/topology to the includes.
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 13fd9530..fa48a44e 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -2099,7 +2099,7 @@ void
vtysh_readline_init (void)
{
/* readline related settings. */
- rl_bind_key ('?', vtysh_rl_describe);
+ rl_bind_key ('?', (Function *) vtysh_rl_describe);
rl_completion_entry_function = vtysh_completion_entry_function;
rl_attempted_completion_function = (CPPFunction *)new_completion;
/* do not append space after completion. It will be appended