From: Antonio Borneo Date: Sun, 20 Jun 2010 09:40:28 +0000 (+0800) Subject: openocd.c: review scope of symbols X-Git-Tag: v0.5.0-rc1~561 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=bc7fa896e69d5a325776da4e5b423940cb1124dd openocd.c: review scope of symbols Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- 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");