diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/clock.h | 4 | ||||
-rw-r--r-- | cpukit/rtems/src/clocktodtoseconds.c | 2 | ||||
-rw-r--r-- | cpukit/rtems/src/clocktodvalidate.c | 2 |
4 files changed, 9 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index cccbec6bd5..64f195db5c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com> + + * rtems/include/rtems/rtems/clock.h, rtems/src/clocktodtoseconds.c, + rtems/src/clocktodvalidate.c: Add const to parameter. + 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com> * libmisc/shell/shell.c, libmisc/stackchk/check.c: Eliminate warnings. diff --git a/cpukit/rtems/include/rtems/rtems/clock.h b/cpukit/rtems/include/rtems/rtems/clock.h index ef1b98edb1..e638acc030 100644 --- a/cpukit/rtems/include/rtems/rtems/clock.h +++ b/cpukit/rtems/include/rtems/rtems/clock.h @@ -248,7 +248,7 @@ rtems_status_code rtems_clock_get_uptime( * @return This method returns true if the TOD is valid and false otherwise. */ bool _TOD_Validate( - rtems_time_of_day *the_tod + const rtems_time_of_day *the_tod ); /** @@ -262,7 +262,7 @@ bool _TOD_Validate( * by @a the_tod */ Watchdog_Interval _TOD_To_seconds( - rtems_time_of_day *the_tod + const rtems_time_of_day *the_tod ); #ifdef __cplusplus diff --git a/cpukit/rtems/src/clocktodtoseconds.c b/cpukit/rtems/src/clocktodtoseconds.c index f9ec18b4c3..c5093e180d 100644 --- a/cpukit/rtems/src/clocktodtoseconds.c +++ b/cpukit/rtems/src/clocktodtoseconds.c @@ -53,7 +53,7 @@ const uint16_t _TOD_Days_since_last_leap_year[4] = { 0, 366, 731, 1096 }; */ uint32_t _TOD_To_seconds( - rtems_time_of_day *the_tod + const rtems_time_of_day *the_tod ) { uint32_t time; diff --git a/cpukit/rtems/src/clocktodvalidate.c b/cpukit/rtems/src/clocktodvalidate.c index 9ea5f01f9d..6d0bf45be7 100644 --- a/cpukit/rtems/src/clocktodvalidate.c +++ b/cpukit/rtems/src/clocktodvalidate.c @@ -48,7 +48,7 @@ const uint32_t _TOD_Days_per_month[ 2 ][ 13 ] = { */ bool _TOD_Validate( - rtems_time_of_day *the_tod + const rtems_time_of_day *the_tod ) { uint32_t days_in_month; |