diff options
| author | Frank Gevaerts <frank@gevaerts.be> | 2009-08-11 19:30:19 +0000 |
|---|---|---|
| committer | Frank Gevaerts <frank@gevaerts.be> | 2009-08-11 19:30:19 +0000 |
| commit | 2dc50471ca17eaeb24b45abce4c0f8944cd781d5 (patch) | |
| tree | 3e704d88f999b8ab071f6ca7753c06e692486cbf /firmware/include | |
| parent | eadfa483d1b014e39953669d79fb997d8cd1085d (diff) | |
| download | rockbox-2dc50471ca17eaeb24b45abce4c0f8944cd781d5.zip rockbox-2dc50471ca17eaeb24b45abce4c0f8944cd781d5.tar.gz rockbox-2dc50471ca17eaeb24b45abce4c0f8944cd781d5.tar.bz2 rockbox-2dc50471ca17eaeb24b45abce4c0f8944cd781d5.tar.xz | |
Consolidate day of week calculation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22258 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
| -rw-r--r-- | firmware/include/timefuncs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/timefuncs.h b/firmware/include/timefuncs.h index 52d4608..e9ef807 100644 --- a/firmware/include/timefuncs.h +++ b/firmware/include/timefuncs.h @@ -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); |