2014-09-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/month_lengths.c: Fix to define __month_lengths.
This commit is contained in:
parent
78a52749b2
commit
3158e7d674
|
@ -1,6 +1,10 @@
|
|||
2014-09-15 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/time/month_lengths.c: Fix to define __month_lengths.
|
||||
|
||||
2014-09-12 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/time/tzcalc_limits.c: Fix __months_lengths reference.
|
||||
* libc/time/tzcalc_limits.c: Fix __month_lengths reference.
|
||||
|
||||
2014-09-12 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
|
|
|
@ -1,14 +1,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.
|
||||
* 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] = {
|
||||
_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}
|
||||
} ;
|
||||
|
|
Loading…
Reference in New Issue