From 53a6f932032a30625358414ae0f77790656ccaca Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 15 Sep 2005 06:50:53 +0000 Subject: * vtysh.c: Fix warning by casting rl_bind_key 2. argument correctly. * extract.pl.in: Fix warning - add isisd/topology to the includes. --- vtysh/vtysh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vtysh/vtysh.c') 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 -- cgit v1.2.1