musl/compat/time32/localtime32_r.c

8 lines
138 B
C

#include "time32.h"
#include <time.h>
struct tm *__localtime32_r(time32_t *t, struct tm *tm)
{
return localtime_r(&(time_t){*t}, tm);
}