fixed another c++ style varaible declaratio in c
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 21 Mar 2010 15:23:22 +0000 (10:23 -0500)
committerGitosis server account <gitosis@charm.cs.uiuc.edu>
Sun, 21 Mar 2010 15:23:22 +0000 (10:23 -0500)
via git-CVS emulator

tests/converse/commbench/smputil.c

index baa9f31f1e1ae33618079bd3320a44070bd8374d..52d10335234f6adfa4db6e2016e3cdac39caa5f7 100755 (executable)
@@ -62,9 +62,10 @@ double memoryAllocTest(){
 }
 
 static void memAllocHandler(EmptyMsg *msg){
+       double overhead;
        /* Make sure the memory contention on a node happens roughly at the same time */
        CmiNodeBarrier();
-       double overhead = memoryAllocTest();    
+       overhead = memoryAllocTest();   
        CmiNodeBarrier();
        
        if(CmiMyPe()==0){