change to ria_tzset
This commit is contained in:
9
libsrc/rp6502/ria_tzset.c
Normal file
9
libsrc/rp6502/ria_tzset.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <rp6502.h>
|
||||
#include <time.h>
|
||||
|
||||
int clock_gettimezone (time_t time, clockid_t clock_id, struct _timezone* tz);
|
||||
|
||||
void ria_tzset (unsigned long time)
|
||||
{
|
||||
clock_gettimezone (time, CLOCK_REALTIME, &_tz);
|
||||
}
|
||||
Reference in New Issue
Block a user