summaryrefslogtreecommitdiffstats
path: root/include/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtc.h')
-rw-r--r--include/rtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtc.h b/include/rtc.h
index e2414fb7b1..600dc46c41 100644
--- a/include/rtc.h
+++ b/include/rtc.h
@@ -55,4 +55,6 @@ unsigned long mktime (unsigned int, unsigned int, unsigned int,
extern struct rtc_device *rtc_lookup(const char *name);
+const char *time_str(struct rtc_time *tm);
+
#endif /* _RTC_H_ */