[rtems commit] rtems: Constify timer fire when directives
Sebastian Huber
sebh at rtems.org
Tue Apr 27 17:34:45 UTC 2021
Module: rtems
Branch: master
Commit: 2684f2a38096dcace313e9ba953782bd756e4fc8
Changeset: http://git.rtems.org/rtems/commit/?id=2684f2a38096dcace313e9ba953782bd756e4fc8
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Apr 27 10:54:04 2021 +0200
rtems: Constify timer fire when directives
Close #4392.
---
cpukit/include/rtems/rtems/timer.h | 4 ++--
cpukit/rtems/src/timerfirewhen.c | 2 +-
cpukit/rtems/src/timerserverfirewhen.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cpukit/include/rtems/rtems/timer.h b/cpukit/include/rtems/rtems/timer.h
index 2683318..eb8bef2 100644
--- a/cpukit/include/rtems/rtems/timer.h
+++ b/cpukit/include/rtems/rtems/timer.h
@@ -545,7 +545,7 @@ rtems_status_code rtems_timer_fire_after(
*/
rtems_status_code rtems_timer_fire_when(
rtems_id id,
- rtems_time_of_day *wall_time,
+ const rtems_time_of_day *wall_time,
rtems_timer_service_routine_entry routine,
void *user_data
);
@@ -719,7 +719,7 @@ rtems_status_code rtems_timer_server_fire_after(
*/
rtems_status_code rtems_timer_server_fire_when(
rtems_id id,
- rtems_time_of_day *wall_time,
+ const rtems_time_of_day *wall_time,
rtems_timer_service_routine_entry routine,
void *user_data
);
diff --git a/cpukit/rtems/src/timerfirewhen.c b/cpukit/rtems/src/timerfirewhen.c
index 33b2e44..1caef49 100644
--- a/cpukit/rtems/src/timerfirewhen.c
+++ b/cpukit/rtems/src/timerfirewhen.c
@@ -24,7 +24,7 @@
rtems_status_code rtems_timer_fire_when(
rtems_id id,
- rtems_time_of_day *wall_time,
+ const rtems_time_of_day *wall_time,
rtems_timer_service_routine_entry routine,
void *user_data
)
diff --git a/cpukit/rtems/src/timerserverfirewhen.c b/cpukit/rtems/src/timerserverfirewhen.c
index 807fff9..8be14be 100644
--- a/cpukit/rtems/src/timerserverfirewhen.c
+++ b/cpukit/rtems/src/timerserverfirewhen.c
@@ -24,7 +24,7 @@
rtems_status_code rtems_timer_server_fire_when(
rtems_id id,
- rtems_time_of_day *wall_time,
+ const rtems_time_of_day *wall_time,
rtems_timer_service_routine_entry routine,
void *user_data
)
More information about the vc
mailing list