diff options
author | hasso <hasso> | 2005-09-15 08:50:53 +0200 |
---|---|---|
committer | hasso <hasso> | 2005-09-15 08:50:53 +0200 |
commit | 53a6f932032a30625358414ae0f77790656ccaca (patch) | |
tree | aa5b33c8e58024ba68543ad8e2c3eaaa36984fd8 /vtysh | |
parent | 2005-09-12 Paul Jakma <paul.jakma@sun.com> (diff) | |
download | frr-53a6f932032a30625358414ae0f77790656ccaca.tar.xz frr-53a6f932032a30625358414ae0f77790656ccaca.zip |
* 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')
-rw-r--r-- | vtysh/ChangeLog | 5 | ||||
-rwxr-xr-x | vtysh/extract.pl.in | 2 | ||||
-rw-r--r-- | vtysh/vtysh.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/vtysh/ChangeLog b/vtysh/ChangeLog index b0c135446..9e4e40ad5 100644 --- a/vtysh/ChangeLog +++ b/vtysh/ChangeLog @@ -1,3 +1,8 @@ +2005-09-15 Hasso Tepper <hasso at quagga.net> + + * vtysh.c: Fix warning by casting rl_bind_key 2. argument correctly. + * extract.pl.in: Fix warning - add isisd/topology to the includes. + 2005-08-22 Hugo Santos <hsantos@av.it.pt> * vtysh.c: Add support for BGP_IPV6M_NODE diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index bab9b14f3..98a9ddde8 100755 --- a/vtysh/extract.pl.in +++ b/vtysh/extract.pl.in @@ -62,7 +62,7 @@ $ignore{'"show history"'} = "ignore"; foreach (@ARGV) { $file = $_; - open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib @SNMP_INCLUDES@ $file |"); + open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ $file |"); local $/; undef $/; $line = <FH>; close (FH); diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 13fd9530b..fa48a44ea 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 |