From 9e217ec3e527e5ff544a40049c33e3c8d3bb391b Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sun, 11 Aug 2013 11:21:20 +0400 Subject: [PATCH] tests: Do not use deprecated AO_T and AO_TS_T * tests/list_atomic.template (list_atomicXX): Use AO_t instead of deprecated AO_T. * tests/list_atomic.template (list_atomicXX): Use AO_TS_t instead of deprecated AO_TS_T. * tests/test_atomic.c (lock): Likewise. --- tests/list_atomic.template | 5 +++-- 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; -- 2.40.0