Browse Source

Make portable c for Parallel test

Zach Mullen 16 years ago
parent
commit
8ffc8147e0
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Tests/CTestTestParallel/lockFile.c

+ 4 - 4
Tests/CTestTestParallel/lockFile.c

@@ -1,9 +1,9 @@
 #include <stdio.h>
 
-//if run serially, works fine
-//if run in parallel, someone will attempt to delete
-//a locked file, which will fail
-int main()
+/*if run serially, works fine.
+  If run in parallel, someone will attempt to delete
+  a locked file, which will fail */
+int main(void)
 {
   FILE* file;
   int i;