From adada0d33ce42d81156c49e601300c85208d78b0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 4 May 2009 02:07:59 +0000 Subject: 2009-05-03 Joel Sherrill * tod.c: Remove warnings and clean up. --- c/src/lib/libbsp/shared/tod.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'c/src/lib/libbsp/shared/tod.c') 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; -- cgit v1.2.3