aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/openocd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 8862284..604b36d 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -230,10 +230,7 @@ static int openocd_register_commands(struct command_context *cmd_ctx)
struct command_context *global_cmd_ctx;
-/* 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)
+static struct command_context *setup_command_handler(Jim_Interp *interp)
{
log_init();
LOG_DEBUG("log_init: complete");