]> granicus.if.org Git - gc/commitdiff
tests: Minor code refactoring of disclaim_bench and subthread_create
authorIvan Maidanski <ivmai@mail.ru>
Sun, 4 Mar 2012 09:56:29 +0000 (13:56 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 4 Mar 2012 09:56:29 +0000 (13:56 +0400)
* disclaim_bench.c: Remove unused include of atomic_ops.h.
* subthread_create.c: Use include "atomic_ops.h" instead of
include <atomic_ops.h>.

tests/disclaim_bench.c
tests/subthread_create.c

index 44f1c207ad8cf00287ee1acb79017a265f82534b..5159829ce92c99f045b6096e365dad76a31d86c1 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "private/gc_priv.h"
 
-#include "atomic_ops.h"
 #include "gc_disclaim.h"
 
 #define my_assert(e) \
index bff545b74226f5367883eb666359aaa2f69c8784..8872209286a1a3c7fa87669f4677a7d0a8dbe7b2 100644 (file)
@@ -2,9 +2,9 @@
 #ifndef GC_THREADS
 # define GC_THREADS
 #endif
-
 #include "gc.h"
-#include <atomic_ops.h>
+
+#include "atomic_ops.h"
 
 #include <stdio.h>