From 485fef856f8f59cd4b0acdc72581ced09f27967e Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 23 Jan 2005 21:42:25 +0000 Subject: * lib/command.[ch]: Make node_parent() function nonstatic. vtyh.c will use it as well. * vtysh/vtysh.c: Implement walkup in node tree for vtysh as it already works in vty. --- lib/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command.c') diff --git a/lib/command.c b/lib/command.c index 1d6388cb..53539149 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1941,7 +1941,7 @@ cmd_complete_command (vector vline, struct vty *vty, int *status) /* return parent node */ /* MUST eventually converge on CONFIG_NODE */ -static enum node_type +enum node_type node_parent ( enum node_type node ) { enum node_type ret; -- cgit v1.2.3