diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-04 02:07:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-04 02:07:59 +0000 |
commit | adada0d33ce42d81156c49e601300c85208d78b0 (patch) | |
tree | b8256a33bd291d2c79663029c174d0f8fee1e5c3 /c | |
parent | 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-adada0d33ce42d81156c49e601300c85208d78b0.tar.bz2 |
2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* tod.c: Remove warnings and clean up.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/shared/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/shared/tod.c | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog index cfcd0ce801..7dfdc71e51 100644 --- a/c/src/lib/libbsp/shared/ChangeLog +++ b/c/src/lib/libbsp/shared/ChangeLog @@ -1,3 +1,7 @@ +2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com> + + * tod.c: Remove warnings and clean up. + 2009-04-28 Chris Johns <chrisj@rtems.org> * bootcard.c, include/bootcard.h: Remove argc/argv/envp and diff --git a/c/src/lib/libbsp/shared/tod.c b/c/src/lib/libbsp/shared/tod.c index a3f4ee301b..619fbec24a 100644 --- a/c/src/lib/libbsp/shared/tod.c +++ b/c/src/lib/libbsp/shared/tod.c @@ -167,7 +167,6 @@ void getRealTime( rtems_time_of_day *tod ) { - if (!RTC_Present) return; @@ -186,15 +185,10 @@ void getRealTime( * * Return values: NONE */ - -/* XXX this routine should be part of the public RTEMS interface */ -extern bool _TOD_Validate( rtems_time_of_day *tod ); - int setRealTime( rtems_time_of_day *tod ) { - if (!RTC_Present) return -1; @@ -219,10 +213,6 @@ int setRealTime( * Return values: * int The differance between the real time clock and rtems time. */ - -/* XXX this routine should be part of the public RTEMS interface */ -uint32_t _TOD_To_seconds( rtems_time_of_day *tod ); - int checkRealTime(void) { rtems_time_of_day rtems_tod; |