From 2dc50471ca17eaeb24b45abce4c0f8944cd781d5 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Tue, 11 Aug 2009 19:30:19 +0000 Subject: Consolidate day of week calculation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22258 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/timefuncs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/include/timefuncs.h') 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); -- cgit v1.1