aboutsummaryrefslogtreecommitdiff
path: root/src/time/__month_to_secs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/__month_to_secs.c')
-rw-r--r--src/time/__month_to_secs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/time/__month_to_secs.c b/src/time/__month_to_secs.c
index 43248fb3..0bab2660 100644
--- a/src/time/__month_to_secs.c
+++ b/src/time/__month_to_secs.c
@@ -8,3 +8,11 @@ int __month_to_secs(int month, int is_leap)
if (is_leap && month >= 2) t+=86400;
return t;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif