blob: 7e08eb13860f8c0cefa7864129bf59bc377618ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* ISC license. */
#include <skalibs/uint64.h>
#include <skalibs/djbtime.h>
#include "djbtime-internal.h"
int ltm64_from_utc (uint64 *u)
{
switch (skalibs_tzisright())
{
case 1 : leapsecs_add(u, 0) ;
case 0 : return 1 ;
default : return 0 ;
}
}
|