diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-11 13:11:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-11 13:11:08 +0100 |
commit | 1b59b573e434b19b45b12b07a28d749d72aeb145 (patch) | |
tree | 7fa1a5006cb916555621e09571cdb5424edb76fe /include | |
parent | 70ef1cef5c1a03a4b130f3916d47c3076880b5d6 (diff) | |
parent | 4c9b2e72057ca3d1578b33ff75ad251bb8225a9c (diff) | |
download | barebox-1b59b573e434b19b45b12b07a28d749d72aeb145.tar.gz barebox-1b59b573e434b19b45b12b07a28d749d72aeb145.tar.xz |
Merge branch 'for-next/rtc'
Diffstat (limited to 'include')
-rw-r--r-- | include/rtc.h | 2 | ||||
-rw-r--r-- | include/sntp.h | 8 |
2 files changed, 10 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_ */ diff --git a/include/sntp.h b/include/sntp.h new file mode 100644 index 0000000000..bfcfcfa8c8 --- /dev/null +++ b/include/sntp.h @@ -0,0 +1,8 @@ +#ifndef __SNTP_H +#define __SNTP_H + +#include <types.h> + +s64 sntp(const char *server); + +#endif /* __SNTP_H */ |