diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-03-02 07:54:17 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-03-02 07:56:15 +0100 |
commit | c0c4b8b8b5cb551906e12c1149874a337af2edb6 (patch) | |
tree | 71c7b4e8906411d893a50425eb325471d8759851 /testsuites/validation/tc-barrier-wait.c | |
parent | score: Simplify _Objects_Name_to_id_u32() (diff) | |
download | rtems-c0c4b8b8b5cb551906e12c1149874a337af2edb6.tar.bz2 |
validation: Format comment blocks
Diffstat (limited to 'testsuites/validation/tc-barrier-wait.c')
-rw-r--r-- | testsuites/validation/tc-barrier-wait.c | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/testsuites/validation/tc-barrier-wait.c b/testsuites/validation/tc-barrier-wait.c index f66452a5e0..a6b3527ec5 100644 --- a/testsuites/validation/tc-barrier-wait.c +++ b/testsuites/validation/tc-barrier-wait.c @@ -272,8 +272,8 @@ static void RtemsBarrierReqWait_Pre_Barrier_Prepare( case RtemsBarrierReqWait_Pre_Barrier_Manual: { /* - * The ``id`` parameter shall be associated with a - * manual release barrier. + * The ``id`` parameter shall be associated with a manual release + * barrier. */ ctx->id = ctx->manual_release_id; break; @@ -281,8 +281,8 @@ static void RtemsBarrierReqWait_Pre_Barrier_Prepare( case RtemsBarrierReqWait_Pre_Barrier_Auto: { /* - * The ``id`` parameter shall be associated with an - * automatic release barrier. + * The ``id`` parameter shall be associated with an automatic release + * barrier. */ ctx->id = ctx->auto_release_id; break; @@ -301,8 +301,7 @@ static void RtemsBarrierReqWait_Pre_Timeout_Prepare( switch ( state ) { case RtemsBarrierReqWait_Pre_Timeout_Ticks: { /* - * The ``released`` parameter shall be a clock tick - * interval. + * The ``released`` parameter shall be a clock tick interval. */ ctx->timeout = 2; break; @@ -310,8 +309,7 @@ static void RtemsBarrierReqWait_Pre_Timeout_Prepare( case RtemsBarrierReqWait_Pre_Timeout_Forever: { /* - * The ``released`` parameter shall be - * RTEMS_NO_TIMEOUT. + * The ``released`` parameter shall be RTEMS_NO_TIMEOUT. */ ctx->timeout = RTEMS_NO_TIMEOUT; break; @@ -378,8 +376,7 @@ static void RtemsBarrierReqWait_Post_Status_Check( switch ( state ) { case RtemsBarrierReqWait_Post_Status_Ok: { /* - * The return status of rtems_barrier_wait() shall be - * RTEMS_SUCCESSFUL. + * The return status of rtems_barrier_wait() shall be RTEMS_SUCCESSFUL. */ T_rsc_success( ctx->status ); break; @@ -387,8 +384,7 @@ static void RtemsBarrierReqWait_Post_Status_Check( case RtemsBarrierReqWait_Post_Status_InvId: { /* - * The return status of rtems_barrier_wait() shall be - * RTEMS_INVALID_ID. + * The return status of rtems_barrier_wait() shall be RTEMS_INVALID_ID. */ T_rsc( ctx->status, RTEMS_INVALID_ID ); break; @@ -396,8 +392,7 @@ static void RtemsBarrierReqWait_Post_Status_Check( case RtemsBarrierReqWait_Post_Status_Timeout: { /* - * The return status of rtems_barrier_wait() shall be - * RTEMS_TIMEOUT. + * The return status of rtems_barrier_wait() shall be RTEMS_TIMEOUT. */ T_rsc( ctx->status, RTEMS_TIMEOUT ); break; |