diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-20 17:40:28 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-21 22:14:21 +0800 |
commit | bc7fa896e69d5a325776da4e5b423940cb1124dd (patch) | |
tree | 8532be2e9b9678fb156dfc7bb7cf12e1fe924b31 | |
parent | 190986eb8c6967cebafe0b415733c72305489f76 (diff) | |
download | openocd_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>
-rw-r--r-- | src/openocd.c | 2 |
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"); |