summaryrefslogtreecommitdiff
path: root/src/helper/jim.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:11 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:36:11 +0000
commit50c086ffb94f199c088f4cc52b7887b668dddf00 (patch)
treef82cbcc5acf534e762fa623923c2b39de0fc07cd /src/helper/jim.h
parente43979e7020ea9d05a3c0a2af444f292eacb6c53 (diff)
downloadopenocd+libswd-50c086ffb94f199c088f4cc52b7887b668dddf00.tar.gz
openocd+libswd-50c086ffb94f199c088f4cc52b7887b668dddf00.tar.bz2
openocd+libswd-50c086ffb94f199c088f4cc52b7887b668dddf00.tar.xz
openocd+libswd-50c086ffb94f199c088f4cc52b7887b668dddf00.zip
- Replace 'while(' with 'while ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2358 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/jim.h')
-rw-r--r--src/helper/jim.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/helper/jim.h b/src/helper/jim.h
index 0b7f45bd..e102eb7d 100644
--- a/src/helper/jim.h
+++ b/src/helper/jim.h
@@ -241,7 +241,7 @@ typedef struct Jim_HashTableIterator {
entry->val = (ht)->type->valDup((ht)->privdata, _val_); \
else \
entry->val = (_val_); \
-} while(0)
+} while (0)
#define Jim_FreeEntryKey(ht, entry) \
if ((ht)->type->keyDestructor) \
@@ -252,7 +252,7 @@ typedef struct Jim_HashTableIterator {
entry->key = (ht)->type->keyDup((ht)->privdata, _key_); \
else \
entry->key = (_key_); \
-} while(0)
+} while (0)
#define Jim_CompareHashKeys(ht, key1, key2) \
(((ht)->type->keyCompare) ? \
@@ -555,7 +555,7 @@ typedef struct Jim_Interp {
Jim_IncrRefCount(_resultObjPtr_); \
Jim_DecrRefCount(i,(i)->result); \
(i)->result = _resultObjPtr_; \
-} while(0)
+} while (0)
/* Reference structure. The interpreter pointer is held within privdata member in HashTable */
#define JIM_REFERENCE_TAGLEN 7 /* The tag is fixed-length, because the reference
@@ -985,7 +985,7 @@ typedef struct jim_getopt {
*
* Jim_GetOpt_Setup( &goi, interp, argc, argv );
*
- * while( goi.argc ){
+ * while ( goi.argc ){
* e = Jim_GetOpt_Nvp( &goi, nvp_options, &n );
* if ( e != JIM_OK ){
* Jim_GetOpt_NvpUnknown( &goi, nvp_options, 0 );
@@ -1102,7 +1102,7 @@ JIM_STATIC int JIM_API( Jim_GetOpt_Nvp)( Jim_GetOptInfo *goi, const Jim_Nvp *loo
* Example:
* \code
*
- * while( goi.argc ){
+ * while ( goi.argc ){
* // Get the next option
* e = Jim_GetOpt_Nvp( &goi, cmd_options, &n );
* if ( e != JIM_OK ){