[PATCH] rtems: Constify timer fire when directives
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Apr 27 08:54:31 UTC 2021
---
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 2683318e70..eb8bef2532 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 33b2e4480e..1caef49e94 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 807fff98d7..8be14beccd 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
)
--
2.26.2
More information about the devel
mailing list