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 53147b72035e914bb095daa74eee3a968557de0b..ebf0dc791e4a497cc86f41665025810962822c17 100644 (file)
  */
 
 #include <stdio.h>
  */
 
 #include <stdio.h>
-
 #include <threads.h>
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 int var = 0;
 
 atomic_int x;
 int var = 0;
index ac2fe521a36f77bcc7eb523d2c0254d1396f6b6a..7e317aa9fcf019b91336823985d5054c9b23166d 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdio.h>
 #include <stdio.h>
-
 #include <threads.h>
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
 #include "librace.h"
-#include "stdatomic.h"
 
 #define RW_LOCK_BIAS            0x00100000
 #define WRITE_LOCK_CMP          RW_LOCK_BIAS
 
 #define RW_LOCK_BIAS            0x00100000
 #define WRITE_LOCK_CMP          RW_LOCK_BIAS
index d74dcca642ba74e4ec44564aeb3118de0c396483..e518e422379fdb3b952a2aec8c4d84b17b2c8da5 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 #include <stdio.h>
  */
 
 #include <stdio.h>
-
 #include <threads.h>
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 int var = 0;
 
 atomic_int x;
 int var = 0;
index cbb8ef5630111d651788729c75897a845983167c..c4e2c17a22cd344eee0f75c6bd27f14f195a34af 100644 (file)
@@ -5,10 +5,10 @@
  */
 
 #include <stdio.h>
  */
 
 #include <stdio.h>
-
 #include <threads.h>
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 int var = 0;
 
 atomic_int x;
 int var = 0;
index 5911e5a3cdd870820a1af60509bbbfbc1dea0868..feac7766c9f68154e169c143d0903cbf18b44141 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdio.h>
 #include <stdio.h>
-
 #include <threads.h>
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 
 
 atomic_int x;
 
index 6ad49092d7e1073ebe40bd8a868049847adc78f8..cbd58ee810960eb9caaccc6458e6578d95148df0 100644 (file)
@@ -1,8 +1,8 @@
 #include <stdio.h>
 #include <stdio.h>
-
 #include <threads.h>
 #include <threads.h>
+#include <stdatomic.h>
+
 #include "librace.h"
 #include "librace.h"
-#include "stdatomic.h"
 
 atomic_int x;
 atomic_int y;
 
 atomic_int x;
 atomic_int y;