mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
15 lines
380 B
C
15 lines
380 B
C
/*
|
|
* month_lengths.c
|
|
*
|
|
* Array __month_lengths[] is (indirectly) needed by tzset(), mktime(),
|
|
* gmtime() and localtime(). To break any dependencies, this array is moved to
|
|
* separate source file.
|
|
*/
|
|
|
|
#include "local.h"
|
|
|
|
_CONST int __month_lengths[2][MONSPERYEAR] = {
|
|
{31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
|
|
{31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}
|
|
} ;
|