- Replace 'switch(' with 'switch ('.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2359 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
zwelch
2009-06-23 22:36:56 +00:00
parent 50c086ffb9
commit 9af5e445b7
19 changed files with 96 additions and 96 deletions

View File

@@ -374,7 +374,7 @@ static int jim_newtap_cmd( Jim_GetOptInfo *goi )
return e;
}
LOG_DEBUG("Processing option: %s", n->name );
switch( n->value ){
switch ( n->value ){
case NTAP_OPT_ENABLED:
pTap->disabled_after_reset = false;
break;
@@ -414,7 +414,7 @@ static int jim_newtap_cmd( Jim_GetOptInfo *goi )
Jim_SetResult_sprintf( goi->interp, "option: %s bad parameter", n->name );
return e;
}
switch(n->value){
switch (n->value){
case NTAP_OPT_IRLEN:
if (w > (jim_wide) (8 * sizeof(pTap->ir_capture_value)))
LOG_WARNING("huge IR length %d", (int) w);
@@ -440,7 +440,7 @@ static int jim_newtap_cmd( Jim_GetOptInfo *goi )
reqbits &= (~(NTREQ_IRCAPTURE));
break;
}
} /* switch(n->value) */
} /* switch (n->value) */
} /* while ( goi->argc ) */
/* default is enabled-after-reset */
@@ -540,7 +540,7 @@ static int jim_jtag_command( Jim_Interp *interp, int argc, Jim_Obj *const *argv
return e;
}
Jim_SetEmptyResult( goi.interp );
switch( n->value ){
switch ( n->value ){
case JTAG_CMD_INTERFACE:
/* return the name of the interface */
/* TCL code might need to know the exact type... */