[rtems-central commit] spec: Constify timer fire when directives

Sebastian Huber sebh at rtems.org
Wed Apr 28 07:04:36 UTC 2021


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Apr 27 10:55:07 2021 +0200

spec: Constify timer fire when directives

---

 spec/rtems/timer/if/fire-when.yml        | 2 +-
 spec/rtems/timer/if/server-fire-when.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/rtems/timer/if/fire-when.yml b/spec/rtems/timer/if/fire-when.yml
index 220865c..5082543 100644
--- a/spec/rtems/timer/if/fire-when.yml
+++ b/spec/rtems/timer/if/fire-when.yml
@@ -10,7 +10,7 @@ definition:
     body: null
     params:
     - ${../../type/if/id:/name} ${.:/params[0]/name}
-    - ${../../type/if/time-of-day:/name} *${.:/params[1]/name}
+    - const ${../../type/if/time-of-day:/name} *${.:/params[1]/name}
     - ${service-routine-entry:/name} ${.:/params[2]/name}
     - void *${.:/params[3]/name}
     return: ${../../status/if/code:/name}
diff --git a/spec/rtems/timer/if/server-fire-when.yml b/spec/rtems/timer/if/server-fire-when.yml
index 98ec5d5..c13e08b 100644
--- a/spec/rtems/timer/if/server-fire-when.yml
+++ b/spec/rtems/timer/if/server-fire-when.yml
@@ -10,7 +10,7 @@ definition:
     body: null
     params:
     - ${../../type/if/id:/name} ${.:/params[0]/name}
-    - ${../../type/if/time-of-day:/name} *${.:/params[1]/name}
+    - const ${../../type/if/time-of-day:/name} *${.:/params[1]/name}
     - ${service-routine-entry:/name} ${.:/params[2]/name}
     - void *${.:/params[3]/name}
     return: ${../../status/if/code:/name}



More information about the vc mailing list