do not extern 'interp' from command.c

Adds 'interp' field to command_context, chasing the few remaining
references to the global variable outside of the command module.
This commit is contained in:
Zachary T Welch
2009-11-29 18:27:45 -08:00
parent 8e8a359af2
commit 7b2906de24
11 changed files with 31 additions and 23 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ int add_service(char *name, enum connection_type type, unsigned short port,
input_handler_t in_handler, connection_closed_handler_t close_handler,
void *priv);
int server_init(void);
int server_init(struct command_context *cmd_ctx);
int server_quit(void);
int server_loop(struct command_context *command_context);