diff options
| author | Robert Keevil <rkeevil+rockbox@gmail.com> | 2007-07-14 12:34:52 +0000 |
|---|---|---|
| committer | Robert Keevil <rkeevil+rockbox@gmail.com> | 2007-07-14 12:34:52 +0000 |
| commit | ef65d914921f358d275949d1f6d66bbfda3efa74 (patch) | |
| tree | 566914a2bf0e096c0383f325560c11e29111f389 /firmware/include/timefuncs.h | |
| parent | 227a733e42d5333b4d10a1b2a77d023fae4d91bb (diff) | |
| download | rockbox-ef65d914921f358d275949d1f6d66bbfda3efa74.zip rockbox-ef65d914921f358d275949d1f6d66bbfda3efa74.tar.gz rockbox-ef65d914921f358d275949d1f6d66bbfda3efa74.tar.bz2 rockbox-ef65d914921f358d275949d1f6d66bbfda3efa74.tar.xz | |
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
Diffstat (limited to 'firmware/include/timefuncs.h')
| -rw-r--r-- | firmware/include/timefuncs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/timefuncs.h b/firmware/include/timefuncs.h index d2f42eb..e266ff9 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_ */ |