[rtems-central commit] spec: Fix task argument types

Sebastian Huber sebh at rtems.org
Wed Dec 22 15:24:14 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    00bee014a712f011f3d751870c80763efcfb9a2b
Changeset: http://git.rtems.org/rtems-central/commit/?id=00bee014a712f011f3d751870c80763efcfb9a2b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Dec 10 18:40:01 2021 +0100

spec: Fix task argument types

---

 spec/rtems/ratemon/req/cancel.yml | 2 +-
 spec/rtems/ratemon/req/period.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/rtems/ratemon/req/cancel.yml b/spec/rtems/ratemon/req/cancel.yml
index 2d1d032..34b6b7c 100644
--- a/spec/rtems/ratemon/req/cancel.yml
+++ b/spec/rtems/ratemon/req/cancel.yml
@@ -348,7 +348,7 @@ test-support: |
     ctx->status = rtems_rate_monotonic_cancel( ctx->id_param );
   }
 
-  static void WorkerTask( unsigned int argument )
+  static void WorkerTask( rtems_task_argument argument )
   {
     RtemsRatemonReqCancel_Context *ctx =
       (RtemsRatemonReqCancel_Context *) argument;
diff --git a/spec/rtems/ratemon/req/period.yml b/spec/rtems/ratemon/req/period.yml
index b573086..445b9f1 100644
--- a/spec/rtems/ratemon/req/period.yml
+++ b/spec/rtems/ratemon/req/period.yml
@@ -554,7 +554,7 @@ test-support: |
     ctx->status = CallPeriodFunction( ctx, ctx->id_param, ctx->length_param );
   }
 
-  static void WorkerTask( unsigned int argument )
+  static void WorkerTask( rtems_task_argument argument )
   {
     RtemsRatemonReqPeriod_Context *ctx =
       (RtemsRatemonReqPeriod_Context *) argument;



More information about the vc mailing list