From bc7fa896e69d5a325776da4e5b423940cb1124dd Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sun, 20 Jun 2010 17:40:28 +0800 Subject: [PATCH] openocd.c: review scope of symbols Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- src/openocd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openocd.c b/src/openocd.c index 81c2dcdb38..623bd0c162 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -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"); -- 2.30.2