diff options
| -rw-r--r-- | tests/list_atomic.template | 5 | ||||
| -rw-r--r-- | tests/test_atomic.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/list_atomic.template b/tests/list_atomic.template index da7762e..744cbc8 100644 --- a/tests/list_atomic.template +++ b/tests/list_atomic.template @@ -13,8 +13,9 @@ void list_atomicXX(void) { - AO_T val, newval = 0, oldval = 0; - AO_TS_T ts; + AO_t val; + AO_t newval = 0, oldval = 0; + AO_TS_t ts; long incr = 0; # if defined(AO_HAVE_nopXX) diff --git a/tests/test_atomic.c b/tests/test_atomic.c index 980fb6b..86fede1 100644 --- a/tests/test_atomic.c +++ b/tests/test_atomic.c @@ -132,7 +132,7 @@ int acqrel_test(void) #if defined(AO_HAVE_test_and_set_acquire) -AO_TS_T lock = AO_TS_INITIALIZER; +AO_TS_t lock = AO_TS_INITIALIZER; unsigned long locked_counter; volatile unsigned long junk = 13; |
