about summary refs log tree commit diff
path: root/src/time/localtime.c
blob: 5210423230ca237de6cbaecbf666bcf73ac12af1 (plain) (blame)
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);
}