@@ -154,7 +154,7 @@ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
154154 (npcol0) = (ctxt)->rscp.Np;\
155155 (myrow0) = (ctxt)->cscp.Iam;\
156156 (mycol0) = (ctxt)->rscp.Iam;\
157- }
157+ } (void)0
158158
159159/*
160160 * These routines return coordinates based on nodes number, or node number
@@ -166,9 +166,9 @@ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
166166{\
167167 (prow) = (node) / (ctxt)->rscp.Np;\
168168 (pcol) = (node) % (ctxt)->rscp.Np;\
169- }
169+ } (void)0
170170#define Mvpcoord (ctxt , node , prow , pcol ) \
171- Mpcoord((ctxt), (node), (prow), (pcol));
171+ Mpcoord((ctxt), (node), (prow), (pcol))
172172
173173#define Mkpnum (ctxt , prow , pcol ) ( (prow)*(ctxt)->rscp.Np+(pcol) )
174174#define Mvkpnum (ctxt , prow , pcol ) ( (prow)*(ctxt)->rscp.Np+(pcol) )
@@ -178,7 +178,7 @@ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
178178 */
179179#define Mscopeid (ctxt ) (ctxt)->scp->ScpId; \
180180 if (++(ctxt)->scp->ScpId == (ctxt)->scp->MaxId) \
181- (ctxt)->scp->ScpId = (ctxt)->scp->MinId;
181+ (ctxt)->scp->ScpId = (ctxt)->scp->MinId
182182
183183/*
184184 * Get context, and check for validity if debug level is high
@@ -195,13 +195,13 @@ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
195195 BI_BlacsErr(-1, __LINE__, __FILE__, "Invalid context, handle=%d",\
196196 (Context));\
197197 (ctxtptr) = BI_MyContxts[(Context)];\
198- }
198+ } (void)0
199199#else
200200#define MGetConTxt (Context , ctxtptr )\
201201{\
202202 extern BLACSCONTEXT **BI_MyContxts;\
203203 (ctxtptr) = BI_MyContxts[(Context)];\
204- }
204+ } (void)0
205205#endif
206206/*
207207 * This macro handles MPI errors
@@ -223,7 +223,7 @@ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
223223{ \
224224 extern Int BI_Iam; \
225225 fprintf(stderr, "%d: line %d of file %s\n", BI_Iam, __LINE__, __FILE__); \
226- }
226+ } (void)0
227227
228228/*
229229 * These macros allow for the funky function declarations and character handling
@@ -282,7 +282,7 @@ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
282282 else\
283283 (length) = ( (m) * ( (n) - (m) ) + ( (m)*(m) ) - ( (m)*(m) )/2 +\
284284 (m)/2 - (m) * (length) ) * (bytes);\
285- }
285+ } (void)0
286286
287287/*
288288 * These macros call the correct packing/unpacking routines
0 commit comments