diff options
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 */ |