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/timefuncs.h | |
parent | eadfa483d1b014e39953669d79fb997d8cd1085d (diff) | |
download | rockbox-2dc50471ca17eaeb24b45abce4c0f8944cd781d5.tar.gz rockbox-2dc50471ca17eaeb24b45abce4c0f8944cd781d5.zip |
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/timefuncs.h')
-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 52d4608287..e9ef8075ac 100644 --- a/firmware/include/timefuncs.h +++ b/firmware/include/timefuncs.h | |||
@@ -29,7 +29,7 @@ | |||
29 | struct tm *get_time(void); | 29 | struct tm *get_time(void); |
30 | int set_time(const struct tm *tm); | 30 | int set_time(const struct tm *tm); |
31 | bool valid_time(const struct tm *tm); | 31 | bool valid_time(const struct tm *tm); |
32 | int day_of_week(int m, int d, int y); | 32 | void set_day_of_week(struct tm *tm); |
33 | void yearday_to_daymonth(int yd, int y, int *d, int *m); | 33 | void yearday_to_daymonth(int yd, int y, int *d, int *m); |
34 | #if CONFIG_RTC | 34 | #if CONFIG_RTC |
35 | time_t mktime(struct tm *t); | 35 | time_t mktime(struct tm *t); |