From: Øyvind H. <go...@us...> - 2010-06-23 11:46:30
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via fb96b8607a0c2a9038df3352b0ef828d78c5e418 (commit) from e5d1befe43c1d666551cf2bc93de276d4e997476 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit fb96b8607a0c2a9038df3352b0ef828d78c5e418 Author: Ãyvind Harboe <oyv...@zy...> Date: Tue Jun 22 13:02:00 2010 +0200 openocd: setup_command_handler() must not be static when OpenOCD is linked with an app this fn can be used from the outside. Signed-off-by: Ãyvind Harboe <oyv...@zy...> diff --git a/src/openocd.c b/src/openocd.c index 623bd0c..96de50c 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -209,8 +209,10 @@ 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 */ -static struct command_context *setup_command_handler(Jim_Interp *interp) +/* NB! this fn can be invoked outside this file for non PC hosted builds + * NB! do not change to 'static'!!!! + */ +struct command_context *setup_command_handler(Jim_Interp *interp) { log_init(); LOG_DEBUG("log_init: complete"); ----------------------------------------------------------------------- Summary of changes: src/openocd.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |