From 78a52749b2815aef4c4524afbe0f9e8c17bd6ebb Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 12 Sep 2014 21:41:46 +0000 Subject: [PATCH] 2014-09-12 Jeff Johnston * libc/time/tzcalc_limits.c: Fix __months_lengths reference. --- newlib/ChangeLog | 4 ++++ newlib/libc/time/tzcalc_limits.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 24c74121b..117438b5b 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2014-09-12 Jeff Johnston + + * libc/time/tzcalc_limits.c: Fix __months_lengths reference. + 2014-09-12 Jeff Johnston * libc/time/month_lengths.c: Actually add file this time. diff --git a/newlib/libc/time/tzcalc_limits.c b/newlib/libc/time/tzcalc_limits.c index 31dda387e..8a0bda3da 100644 --- a/newlib/libc/time/tzcalc_limits.c +++ b/newlib/libc/time/tzcalc_limits.c @@ -46,7 +46,7 @@ _DEFUN (__tzcalc_limits, (year), { _CONST int yleap = isleap(year); int m_day, m_wday, wday_diff; - _CONST int *_CONST ip = month_lengths[yleap]; + _CONST int *_CONST ip = __month_lengths[yleap]; days = year_days;