summaryrefslogtreecommitdiff
path: root/src/libstddjb/utc_from_ltm64.c
blob: ab2d153c978a8fdc2e178f6aa4dadd3f6f7e06b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* ISC license. */

#include <skalibs/config.h>
#include <skalibs/uint64.h>
#include <skalibs/djbtime.h>
#include "djbtime-internal.h"

int utc_from_ltm64 (uint64_t *u)
{
#ifdef SKALIBS_FLAG_CLOCKISTAI
  leapsecs_sub(u) ;
#endif
  return 1 ;
}