]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
aix-cv-macro-fix-20030619
authorNathan Neulinger <nneul@umr.edu>
Thu, 19 Jun 2003 18:06:29 +0000 (18:06 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 19 Jun 2003 18:06:29 +0000 (18:06 +0000)
FIXES 1547

fix macro escaping

src/rx/AIX/rx_kmutex.h

index b23fb8e7e008e917857f6b2420ca80ec16fba9ba..00e79bf00a8c8ae0d0e18aefcb60432e678e3ad4 100644 (file)
@@ -78,7 +78,7 @@ typedef int afs_kcondvar_t;
                                simple_unlock((void *)(a))
 
 #define CV_WAIT(_cv, _lck) \
-    do {
+    do { \
        int haveGlock = ISAFS_GLOCK(); \
        if (haveGlock) \
            AFS_GUNLOCK(); \
@@ -93,7 +93,7 @@ typedef int afs_kcondvar_t;
     } while(0)
 
 #define CV_TIMEDWAIT(_cv, _lck, _t) \
-    do {
+    do { \
        int haveGlock = ISAFS_GLOCK(); \
        if (haveGlock) \
            AFS_GUNLOCK(); \