aboutsummaryrefslogtreecommitdiff
path: root/src/time/__year_to_secs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/__year_to_secs.c')
-rw-r--r--src/time/__year_to_secs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/time/__year_to_secs.c b/src/time/__year_to_secs.c
index b42f5a6d..9b2c0a1a 100644
--- a/src/time/__year_to_secs.c
+++ b/src/time/__year_to_secs.c
@@ -45,3 +45,11 @@ long long __year_to_secs(long long year, int *is_leap)
return (year-100) * 31536000LL + leaps * 86400LL + 946684800 + 86400;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif