summaryrefslogtreecommitdiff
path: root/libc/misc/time/mktime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/time/mktime.c')
-rw-r--r--libc/misc/time/mktime.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libc/misc/time/mktime.c b/libc/misc/time/mktime.c
index c767fb402..7286e666b 100644
--- a/libc/misc/time/mktime.c
+++ b/libc/misc/time/mktime.c
@@ -63,13 +63,7 @@
((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
#endif
-/* How many days come before each month (0-12). */
-const unsigned short int __mon_yday[2][13] = {
- /* Normal years. */
- {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365},
- /* Leap years. */
- {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366}
-};
+extern const unsigned short int __mon_yday[2][13];
static time_t ydhms_tm_diff