openocd.c: review scope of symbols
Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
190986eb8c
commit
bc7fa896e6
|
@ -210,7 +210,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 */
|
||||
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");
|
||||
|
|
Loading…
Reference in New Issue