summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/tod.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-27 14:21:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-27 14:21:29 +0000
commit7e0bd6ee20504e836bb78f353f0099aecbfe2229 (patch)
tree322ae47b348b252680416ce56942798c5295ee7b /c/src/lib/libbsp/shared/tod.h
parentPR fixed. (diff)
downloadrtems-7e0bd6ee20504e836bb78f353f0099aecbfe2229.tar.bz2
2009-05-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* tod.h, tod.c: Update for new RTC driver interface.
Diffstat (limited to 'c/src/lib/libbsp/shared/tod.h')
-rw-r--r--c/src/lib/libbsp/shared/tod.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/shared/tod.h b/c/src/lib/libbsp/shared/tod.h
index 3f5f9069da..25a5a39283 100644
--- a/c/src/lib/libbsp/shared/tod.h
+++ b/c/src/lib/libbsp/shared/tod.h
@@ -25,7 +25,7 @@ extern "C" {
*/
int setRealTime(
- rtems_time_of_day *tod
+ const rtems_time_of_day *tod
);
/*
@@ -40,20 +40,20 @@ void getRealTime(
* Read real time from RTC and set it to RTEMS' clock manager
*/
-void setRealTimeToRTEMS();
+void setRealTimeToRTEMS(void);
/*
* Read time from RTEMS' clock manager and set it to RTC
*/
-void setRealTimeFromRTEMS();
+void setRealTimeFromRTEMS(void);
/*
* Return the difference between RTC and RTEMS' clock manager time in minutes.
* If the difference is greater than 1 day, this returns 9999.
*/
-int checkRealTime();
+int checkRealTime(void);
#ifdef __cplusplus
}