when OpenOCD is linked with an app this fn can be used from
the outside.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
struct command_context *global_cmd_ctx;
-/* NB! this fn can be invoked outside this file for non PC hosted builds */
-static struct command_context *setup_command_handler(Jim_Interp *interp)
+/* NB! this fn can be invoked outside this file for non PC hosted builds
+ * NB! do not change to 'static'!!!!
+ */
+struct command_context *setup_command_handler(Jim_Interp *interp)
{
log_init();
LOG_DEBUG("log_init: complete");