summaryrefslogtreecommitdiff
path: root/src/libstddjb/leapsecs_here.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/leapsecs_here.c')
-rw-r--r--src/libstddjb/leapsecs_here.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/leapsecs_here.c b/src/libstddjb/leapsecs_here.c
new file mode 100644
index 0000000..3ecdfd1
--- /dev/null
+++ b/src/libstddjb/leapsecs_here.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+/* MT-unsafe */
+
+#include <skalibs/uint64.h>
+#include "djbtime-internal.h"
+
+static uint64 leapsecs_here_tab[LEAPSECS_MAX+1] ;
+uint64 *leapsecs_here = leapsecs_here_tab ;