]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed a compiler warning.
authorBart Van Assche <bvanassche@acm.org>
Thu, 1 May 2008 14:36:39 +0000 (14:36 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 1 May 2008 14:36:39 +0000 (14:36 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7975

helgrind/tests/tc17_sembar.c

index 01af962f1758f21b40b790916c3a03d6938859e5..ed3f4ca41fb053cd993d8b9e1625f32701120a9b 100644 (file)
@@ -150,7 +150,7 @@ static gomp_barrier_t bar;
    and this is interesting background:
      www.hpl.hp.com/techreports/2004/HPL-2004-209.pdf
 */
-volatile static long unprotected = 0;
+static volatile long unprotected = 0;
 
 void* child ( void* argV )
 {