forked from len0rd/rockbox
Add conditionals around functions that are only needed when RTC is present.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31301 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
213b8ce74b
commit
871c7bd34c
2 changed files with 6 additions and 0 deletions
|
@ -28,8 +28,10 @@
|
|||
|
||||
struct tm *get_time(void);
|
||||
int set_time(const struct tm *tm);
|
||||
#if CONFIG_RTC
|
||||
bool valid_time(const struct tm *tm);
|
||||
void set_day_of_week(struct tm *tm);
|
||||
#endif
|
||||
|
||||
#endif /* _TIMEFUNCS_H_ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue