summaryrefslogtreecommitdiff
path: root/tests/test_atomic.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2013-08-11 11:21:20 +0400
committerIvan Maidanski <ivmai@mail.ru>2013-08-11 11:21:20 +0400
commit9e217ec3e527e5ff544a40049c33e3c8d3bb391b (patch)
tree47707ff73a3565d0e06aa7ff41494a2e47c67142 /tests/test_atomic.c
parent22d7c9794561a2590b28ea14c1684ff6efc21f58 (diff)
downloadlibatomic_ops-9e217ec3e527e5ff544a40049c33e3c8d3bb391b.tar.gz
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.
Diffstat (limited to 'tests/test_atomic.c')
-rw-r--r--tests/test_atomic.c2
1 files changed, 1 insertions, 1 deletions
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;