diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2014-09-15 16:05:37 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2014-09-15 16:05:37 +0000 |
commit | 3158e7d6749eeef6617ecb1592b7ac31ec17c926 (patch) | |
tree | 359acf194d1c625154574213856b92f00334428c /newlib/libc/time/month_lengths.c | |
parent | 78a52749b2815aef4c4524afbe0f9e8c17bd6ebb (diff) | |
download | cygnal-3158e7d6749eeef6617ecb1592b7ac31ec17c926.tar.gz cygnal-3158e7d6749eeef6617ecb1592b7ac31ec17c926.tar.bz2 cygnal-3158e7d6749eeef6617ecb1592b7ac31ec17c926.zip |
2014-09-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/month_lengths.c: Fix to define __month_lengths.
Diffstat (limited to 'newlib/libc/time/month_lengths.c')
-rw-r--r-- | newlib/libc/time/month_lengths.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/time/month_lengths.c b/newlib/libc/time/month_lengths.c index 764e70042..2871802f0 100644 --- a/newlib/libc/time/month_lengths.c +++ b/newlib/libc/time/month_lengths.c @@ -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} } ; |