#include "time_header.h"
void gmtcheck(void)
{
static bool gmt_is_set;
if (lock() != 0) {
return;
}
if (!gmt_is_set) {
gmtptr = (struct state*)
AllocMem(sizeof(struct state), MEMF_PUBLIC | MEMF_CLEAR);
if (gmtptr) {
gmtload(gmtptr);
gmt_is_set = true;
unlock();