projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
190986e
)
openocd.c: review scope of symbols
author
Antonio Borneo
<borneo.antonio@gmail.com>
Sun, 20 Jun 2010 09:40:28 +0000
(17:40 +0800)
committer
Antonio Borneo
<borneo.antonio@gmail.com>
Mon, 21 Jun 2010 14:14:21 +0000
(22:14 +0800)
Add "static" qualifier to private data.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/openocd.c
patch
|
blob
|
history
diff --git
a/src/openocd.c
b/src/openocd.c
index 81c2dcdb389e2c03da79499ada17fe36c3e67a05..623bd0c1625d0403e2ef294d25fe4ba31993f6b2 100644
(file)
--- 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)
+st
atic st
ruct command_context *setup_command_handler(Jim_Interp *interp)
{
log_init();
LOG_DEBUG("log_init: complete");