summaryrefslogtreecommitdiff
path: root/testsuites/validation/tr-model-chains-api-0.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-07 17:52:33 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-12 15:09:25 +0200
commitb521b416587e5c7277e1cb28e37b71f4cd60e806 (patch)
treec59ea460cf54a65d19b526782bb35693624eced2 /testsuites/validation/tr-model-chains-api-0.c
parentcbda48279eda314f765e53cbdffe570aa61b242e (diff)
validation: Use unprotected chain directives
Diffstat (limited to 'testsuites/validation/tr-model-chains-api-0.c')
-rw-r--r--testsuites/validation/tr-model-chains-api-0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/validation/tr-model-chains-api-0.c b/testsuites/validation/tr-model-chains-api-0.c
index c991193e6a..0b6c50806f 100644
--- a/testsuites/validation/tr-model-chains-api-0.c
+++ b/testsuites/validation/tr-model-chains-api-0.c
@@ -68,7 +68,7 @@ static void TestSegment0( Context* ctx ) {
T_eq_ptr( nptr, NULL );
T_log(T_NORMAL,"@@@ 0 CALL append 22 3");
memory[3].val = 22;
- rtems_chain_append( &chain, (rtems_chain_node*)&memory[3] );
+ rtems_chain_append_unprotected( &chain, (rtems_chain_node*)&memory[3] );
T_log(T_NORMAL,"@@@ 0 SEQ chain");
T_log(T_NORMAL,"@@@ 0 SCALAR _ 22");
@@ -78,7 +78,7 @@ static void TestSegment0( Context* ctx ) {
T_log(T_NORMAL,"@@@ 0 CALL append 21 6");
memory[6].val = 21;
- rtems_chain_append( &chain, (rtems_chain_node*)&memory[6] );
+ rtems_chain_append_unprotected( &chain, (rtems_chain_node*)&memory[6] );
T_log(T_NORMAL,"@@@ 0 SEQ chain");
T_log(T_NORMAL,"@@@ 0 SCALAR _ 22");
@@ -89,7 +89,7 @@ static void TestSegment0( Context* ctx ) {
T_log(T_NORMAL,"@@@ 0 CALL append 23 4");
memory[4].val = 23;
- rtems_chain_append( &chain, (rtems_chain_node*)&memory[4] );
+ rtems_chain_append_unprotected( &chain, (rtems_chain_node*)&memory[4] );
T_log(T_NORMAL,"@@@ 0 SEQ chain");
T_log(T_NORMAL,"@@@ 0 SCALAR _ 22");