summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-27 10:54:04 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-27 19:34:30 +0200
commit2684f2a38096dcace313e9ba953782bd756e4fc8 (patch)
tree87c48c0e0a6aaeb92b1569eb9acf2106c2381323
parente29d5cd01d0076928010a92b731230c694498be9 (diff)
downloadrtems-2684f2a38096dcace313e9ba953782bd756e4fc8.tar.bz2
rtems: Constify timer fire when directives
Close #4392.
-rw-r--r--cpukit/include/rtems/rtems/timer.h4
-rw-r--r--cpukit/rtems/src/timerfirewhen.c2
-rw-r--r--cpukit/rtems/src/timerserverfirewhen.c2
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
)