summaryrefslogtreecommitdiff
path: root/firmware/include/timefuncs.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-08-11 19:30:19 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-08-11 19:30:19 +0000
commit2dc50471ca17eaeb24b45abce4c0f8944cd781d5 (patch)
tree3e704d88f999b8ab071f6ca7753c06e692486cbf /firmware/include/timefuncs.h
parenteadfa483d1b014e39953669d79fb997d8cd1085d (diff)
downloadrockbox-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.h2
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 @@
29struct tm *get_time(void); 29struct tm *get_time(void);
30int set_time(const struct tm *tm); 30int set_time(const struct tm *tm);
31bool valid_time(const struct tm *tm); 31bool valid_time(const struct tm *tm);
32int day_of_week(int m, int d, int y); 32void set_day_of_week(struct tm *tm);
33void yearday_to_daymonth(int yd, int y, int *d, int *m); 33void yearday_to_daymonth(int yd, int y, int *d, int *m);
34#if CONFIG_RTC 34#if CONFIG_RTC
35time_t mktime(struct tm *t); 35time_t mktime(struct tm *t);