Welcome to mirror list, hosted at ThFree Co, Russian Federation.

month_lengths.c « time « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2871802f06d0975e4d71fe2eec83a46a3df70b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * 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}
} ;