1
0
Fork 0
forked from len0rd/rockbox

Consolidate day of week calculation

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22258 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2009-08-11 19:30:19 +00:00
parent eadfa483d1
commit 2dc50471ca
4 changed files with 19 additions and 21 deletions

View file

@ -29,7 +29,7 @@
struct tm *get_time(void);
int set_time(const struct tm *tm);
bool valid_time(const struct tm *tm);
int day_of_week(int m, int d, int y);
void set_day_of_week(struct tm *tm);
void yearday_to_daymonth(int yd, int y, int *d, int *m);
#if CONFIG_RTC
time_t mktime(struct tm *t);