From 7b2906de246bc37af99d432b3edf12e9f5f63521 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Sun, 29 Nov 2009 18:27:45 -0800 Subject: 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. --- src/openocd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openocd.c') diff --git a/src/openocd.c b/src/openocd.c index 2a65b4d8..1be209ad 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -277,7 +277,7 @@ int openocd_main(int argc, char *argv[]) return EXIT_FAILURE; #endif - ret = server_init(); + ret = server_init(cmd_ctx); if (ERROR_OK != ret) return EXIT_FAILURE; -- cgit v1.2.3