summaryrefslogtreecommitdiff
path: root/src/time/gmtime.c
blob: 3791b24c663754717b36f630dd254b55f2c3064f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "time_impl.h"
#include <errno.h>

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

struct tm *gmtime(const time_t *t)
{
	static struct tm tm;
	return __gmtime_r(t, &tm);
}