From 95d2a2372421aeddae01f1af51279ab7989e46b5 Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 23 Jun 2009 22:37:21 +0000 Subject: - Replace 'for(' with 'for ('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2360 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/jim.c | 8 ++++---- src/helper/options.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/helper') diff --git a/src/helper/jim.c b/src/helper/jim.c index 84ac39b5..ab0b18c6 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -504,7 +504,7 @@ static jim_wide JimPowWide(jim_wide b, jim_wide e) { jim_wide i, res = 1; if ((b==0 && e!=0) || (e<0)) return 0; - for(i=0; iinterp, p->interp->cookie_stderr, "---args---\n"); - for( x = 0 ; x < p->argc ; x++ ){ + for ( x = 0 ; x < p->argc ; x++ ){ Jim_fprintf( p->interp, p->interp->cookie_stderr, "%2d) %s\n", x, @@ -12823,7 +12823,7 @@ Jim_Debug_ArgvString( Jim_Interp *interp, int argc, Jim_Obj *const *argv ) } debug_string_obj = Jim_NewEmptyStringObj( interp ); - for( x = 0 ; x < argc ; x++ ){ + for ( x = 0 ; x < argc ; x++ ){ Jim_AppendStrings( interp, debug_string_obj, Jim_GetString( argv[x], NULL ), diff --git a/src/helper/options.c b/src/helper/options.c index c48939e5..23491d3f 100644 --- a/src/helper/options.c +++ b/src/helper/options.c @@ -90,7 +90,7 @@ int add_default_dirs(void) GetModuleFileName (NULL, strExePath, MAX_PATH); *strrchr(strExePath, '\\')=0; strcat(strExePath, "/../lib/"PACKAGE); - for(p=strExePath; *p; p++) { + for (p=strExePath; *p; p++) { if (*p == '\\') *p = '/'; } -- cgit v1.2.3