diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2013-08-11 11:21:20 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2013-08-11 11:21:20 +0400 |
commit | 9e217ec3e527e5ff544a40049c33e3c8d3bb391b (patch) | |
tree | 47707ff73a3565d0e06aa7ff41494a2e47c67142 | |
parent | 22d7c9794561a2590b28ea14c1684ff6efc21f58 (diff) |
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.
-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; |