From 6c0553c8c504d4c6da20857abeec80648d841b72 Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 20 Jul 2008 17:04:58 +0000 Subject: 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 --- src/helper/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helper/command.c') 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 */ -- cgit v1.2.3