From b31d83c6c7eb274144acc7c40ea4bf8424b6b1e0 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 7 Jul 2008 08:05:07 +0000 Subject: added pre/postlude fn's for when OpenOCD is sleeping. git-svn-id: svn://svn.berlios.de/openocd/trunk@765 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/openocd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/openocd.c') diff --git a/src/openocd.c b/src/openocd.c index ee00f19a..834b11d9 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -185,8 +185,6 @@ int handle_init_command(struct command_context_s *cmd_ctx, char *cmd, char **arg return ERROR_OK; } -void lockBigLock(); -void unlockBigLock(); Jim_Interp *interp; command_context_t *active_cmd_ctx; @@ -445,8 +443,6 @@ static int Jim_Command_openocd_ignore(Jim_Interp *interp, int argc, Jim_Obj *con int retval; char *cmd = (char*)Jim_GetString(argv[1], NULL); - lockBigLock(); - Jim_Obj *tclOutput = Jim_NewStringObj(interp, "", 0); if (startLoop) @@ -465,7 +461,6 @@ static int Jim_Command_openocd_ignore(Jim_Interp *interp, int argc, Jim_Obj *con log_remove_callback(tcl_output, tclOutput); Jim_SetResult(interp, tclOutput); - unlockBigLock(); return (ignore||(retval==ERROR_OK))?JIM_OK:JIM_ERR; } -- cgit v1.2.3