From eb6fd311de63c10c49dd01dc3488800db6f47c1d Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sun, 4 Mar 2012 13:56:29 +0400 Subject: [PATCH] tests: Minor code refactoring of disclaim_bench and subthread_create * disclaim_bench.c: Remove unused include of atomic_ops.h. * subthread_create.c: Use include "atomic_ops.h" instead of include . --- tests/disclaim_bench.c | 1 - tests/subthread_create.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/disclaim_bench.c b/tests/disclaim_bench.c index 44f1c207..5159829c 100644 --- a/tests/disclaim_bench.c +++ b/tests/disclaim_bench.c @@ -18,7 +18,6 @@ #include "private/gc_priv.h" -#include "atomic_ops.h" #include "gc_disclaim.h" #define my_assert(e) \ diff --git a/tests/subthread_create.c b/tests/subthread_create.c index bff545b7..88722092 100644 --- a/tests/subthread_create.c +++ b/tests/subthread_create.c @@ -2,9 +2,9 @@ #ifndef GC_THREADS # define GC_THREADS #endif - #include "gc.h" -#include + +#include "atomic_ops.h" #include -- 2.40.0