From 4f5d5436701d33b24c967ee545ac4946d3f517a4 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 15 Jun 2003 01:28:29 +0000 Subject: 2003-06-15 Paul Jakma * lib/vty.{c,h}: Remove vty layer depending on a 'master' global, pass the thread master in explicitly to vty_init. Sort out some header dependency problems with lib/command.h * zebra/: Move globals to struct zebrad. Update vty_init(). * (.*)/\1_main.c: update call to vty_init(). --- lib/command.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/command.c') diff --git a/lib/command.c b/lib/command.c index 5d429338..ade413bb 100644 --- a/lib/command.c +++ b/lib/command.c @@ -20,11 +20,14 @@ Boston, MA 02111-1307, USA. */ #include -#include "command.h" + #include "memory.h" #include "log.h" #include "version.h" #include "thread.h" +#include "vector.h" +#include "vty.h" +#include "command.h" /* Command vector which includes some level of command lists. Normally each daemon maintains each own cmdvec. */ -- cgit v1.2.3