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

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