summaryrefslogtreecommitdiff
path: root/src/time/localtime.c
blob: bb6718c33ff27afa636b6acfbfa89cb5840878f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "time_impl.h"

struct tm *__localtime_r(const time_t *restrict, struct tm *restrict);

struct tm *localtime(const time_t *t)
{
	static struct tm tm;
	return __localtime_r(t, &tm);
}