tests: use <stdatomic.h>
authorBrian Norris <banorris@uci.edu>
Tue, 9 Oct 2012 21:10:45 +0000 (14:10 -0700)
committerBrian Norris <banorris@uci.edu>
Tue, 9 Oct 2012 21:15:16 +0000 (14:15 -0700)
While I'm at it, rearrange the header listings.

test/double-relseq.c
test/linuxrwlocks.c
test/pending-release.c
test/releaseseq.c
test/rmwprog.c
test/userprog.c

index 53147b7..ebf0dc7 100644 (file)
  */
 
 #include <stdio.h>
-
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 int var = 0;
index ac2fe52..7e317aa 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdio.h>
-
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
-#include "stdatomic.h"
 
 #define RW_LOCK_BIAS            0x00100000
 #define WRITE_LOCK_CMP          RW_LOCK_BIAS
index d74dcca..e518e42 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 #include <stdio.h>
-
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 int var = 0;
index cbb8ef5..c4e2c17 100644 (file)
@@ -5,10 +5,10 @@
  */
 
 #include <stdio.h>
-
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 int var = 0;
index 5911e5a..feac776 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdio.h>
-
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 
index 6ad4909..cbd58ee 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdio.h>
-
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 atomic_int y;