summaryrefslogtreecommitdiff
path: root/compat/time32/localtime32_r.c
blob: 633ec8293f1fd630b53b988b8cde85f9c8b05679 (plain) (blame)
1
2
3
4
5
6
7
#include "time32.h"
#include <time.h>

struct tm *__localtime32_r(time32_t *t, struct tm *tm)
{
	return localtime_r(&(time_t){*t}, tm);
}