summaryrefslogtreecommitdiff
path: root/libc/misc/time/gmtime.c
blob: e9d648037ae08d81491305dfe33ff2f34be81921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#include <time.h>

extern void __tm_conv();

/* Our static data lives in __time_static.c */
extern struct tm __tmb;

struct tm *gmtime(__const time_t *timep)
{
    __tm_conv(&__tmb, timep, 0L);
    return &__tmb;
}