forked from len0rd/rockbox
Introduce gmtime.c and use it in the AS3514 RTC driver
Change-Id: I00a09ae28a68f8153fb8fa854fea741ddfb0bf09 Reviewed-on: http://gerrit.rockbox.org/175 Tested-by: Bertrik Sikken <bertrik@sikken.nl> Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Reviewed-by: Rafaël Carré <rafael.carre@gmail.com>
This commit is contained in:
parent
3448f5b6ad
commit
727e8aa681
4 changed files with 132 additions and 112 deletions
|
|
@ -34,6 +34,8 @@ typedef long time_t;
|
|||
#define _TIME_T_DECLARED
|
||||
time_t time(time_t *t);
|
||||
struct tm *localtime(const time_t *timep);
|
||||
struct tm *gmtime(const time_t *timep);
|
||||
struct tm *gmtime_r(const time_t *timep, struct tm *result);
|
||||
time_t mktime(struct tm *t);
|
||||
|
||||
#endif /* SIMULATOR */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue