summaryrefslogtreecommitdiff
path: root/src/libstddjb/utc_from_ltm64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/utc_from_ltm64.c')
-rw-r--r--src/libstddjb/utc_from_ltm64.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/libstddjb/utc_from_ltm64.c b/src/libstddjb/utc_from_ltm64.c
index 44aea15..788a539 100644
--- a/src/libstddjb/utc_from_ltm64.c
+++ b/src/libstddjb/utc_from_ltm64.c
@@ -5,19 +5,11 @@
#include <skalibs/djbtime.h>
#include "djbtime-internal.h"
-#ifdef SKALIBS_FLAG_CLOCKISTAI
-
-int utc_from_ltm64 (uint64 *u)
-{
- return (leapsecs_sub(u) > 0) ;
-}
-
-#else
int utc_from_ltm64 (uint64 *u)
{
- (void)u ;
+#ifdef SKALIBS_FLAG_CLOCKISTAI
+ leapsecs_sub(u) ;
+#endif
return 1 ;
}
-
-#endif