summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-07-03 13:19:38 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-07 08:21:46 +0200
commit3b02705ad29345017b1e8dd8af599ab317d73f7a (patch)
tree2816b4fbe5007d5af33aa0ac3357f9749ec3686f
parent8f184314ddd9f6bad3383c0ec09e769b5c283000 (diff)
downloadbarebox-3b02705ad29345017b1e8dd8af599ab317d73f7a.tar.gz
barebox-3b02705ad29345017b1e8dd8af599ab317d73f7a.tar.xz
rtc.h: drop unused U-Boot stuff; fix whitespace
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/rtc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/rtc.h b/include/rtc.h
index c71ec4d75c..c2d8bcefed 100644
--- a/include/rtc.h
+++ b/include/rtc.h
@@ -31,7 +31,7 @@
* Note that there are small but significant differences to the
* common "struct time":
*
- * struct time: struct rtc_time:
+ * struct time: struct rtc_time:
* tm_mon 0 ... 11 1 ... 12
* tm_year years since 1900 years since 0
*/
@@ -48,10 +48,6 @@ struct rtc_time {
int tm_isdst;
};
-void rtc_get (struct rtc_time *);
-void rtc_set (struct rtc_time *);
-void rtc_reset (void);
-
void GregorianDay (struct rtc_time *);
void to_tm (int, struct rtc_time *);
unsigned long mktime (unsigned int, unsigned int, unsigned int,