projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
do not extern 'interp' from command.c
[fw/openocd]
/
src
/
helper
/
command.c
diff --git
a/src/helper/command.c
b/src/helper/command.c
index 319f0810d6169dbfe3ec9cef67279675cd0cf749..5df4a4536f5293c11ac155b8abc9eb4c6b8b9e2f 100644
(file)
--- a/
src/helper/command.c
+++ b/
src/helper/command.c
@@
-1257,7
+1257,7
@@
struct command_context* command_init(const char *startup_tcl)
#if !BUILD_ECOSBOARD
Jim_InitEmbedded();
/* Create an interpreter */
- interp = Jim_CreateInterp();
+ interp =
context->interp =
Jim_CreateInterp();
/* Add all the Jim core commands */
Jim_RegisterCoreCommands(interp);
#endif