summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-06-20 17:40:28 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-06-21 22:14:21 +0800
commitbc7fa896e69d5a325776da4e5b423940cb1124dd (patch)
tree8532be2e9b9678fb156dfc7bb7cf12e1fe924b31 /src/openocd.c
parent190986eb8c6967cebafe0b415733c72305489f76 (diff)
downloadopenocd+libswd-bc7fa896e69d5a325776da4e5b423940cb1124dd.tar.gz
openocd+libswd-bc7fa896e69d5a325776da4e5b423940cb1124dd.tar.bz2
openocd+libswd-bc7fa896e69d5a325776da4e5b423940cb1124dd.tar.xz
openocd+libswd-bc7fa896e69d5a325776da4e5b423940cb1124dd.zip
openocd.c: review scope of symbols
Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 81c2dcdb..623bd0c1 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");