diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-20 17:04:58 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-20 17:04:58 +0000 |
commit | 6c0553c8c504d4c6da20857abeec80648d841b72 (patch) | |
tree | ef5a8e4e4d925f27a354bf870aa9a9a2c4b7bf21 /src/helper/command.c | |
parent | 42501f0ef0beb573fcbe904320b9a0fba02dcc3b (diff) |
openocd@duaneellis.com fix naming confusion. Use ocd_ prefix for ocd API consistently.
git-svn-id: svn://svn.berlios.de/openocd/trunk@839 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/command.c')
-rw-r--r-- | src/helper/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index 04737001..12827ecd 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -99,7 +99,7 @@ static int script_command(Jim_Interp *interp, int argc, Jim_Obj *const *argv) log_remove_callback(tcl_output, tclOutput); /* We dump output into this local variable */ - Jim_SetVariableStr(interp, "openocd_output", tclOutput); + Jim_SetVariableStr(interp, "ocd_output", tclOutput); } for (i = 0; i < nwords; i++) @@ -623,7 +623,7 @@ command_context_t* command_init() Jim_RegisterCoreCommands(interp); #endif - Jim_CreateCommand(interp, "openocd_find", jim_find, NULL, NULL); + Jim_CreateCommand(interp, "ocd_find", jim_find, NULL, NULL); Jim_CreateCommand(interp, "echo", jim_echo, NULL, NULL); /* Set Jim's STDIO */ |