From ef65d914921f358d275949d1f6d66bbfda3efa74 Mon Sep 17 00:00:00 2001 From: Robert Keevil Date: Sat, 14 Jul 2007 12:34:52 +0000 Subject: FS#7353 - mktime() is only used by targets that have an RTC git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13883 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/timefuncs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/include/timefuncs.h') diff --git a/firmware/include/timefuncs.h b/firmware/include/timefuncs.h index d2f42eb9ff..e266ff9acb 100644 --- a/firmware/include/timefuncs.h +++ b/firmware/include/timefuncs.h @@ -27,6 +27,8 @@ struct tm *get_time(void); int set_time(const struct tm *tm); bool valid_time(const struct tm *tm); +#if CONFIG_RTC time_t mktime(struct tm *t); +#endif #endif /* _TIMEFUNCS_H_ */ -- cgit v1.2.3