scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 359cc22ee4a0fb2a8bb2ec66859ff73b533bf12a
parent 766fc5e9b721bfd08ef9c6b04c8ddd5f36cc0c56
Author: Michael Forney <mforney@mforney.org>
Date:   Sun,  3 Oct 2021 00:11:34 -0700

libc: Fix name in invocation of FEBDAYS macro

Diffstat:
Msrc/libc/time/mktime.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libc/time/mktime.c b/src/libc/time/mktime.c @@ -68,7 +68,7 @@ normalize(struct tm *tm) if (year == MINYEAR) return 0; year--; - _daysmon[FEB] = _febdays(year); + _daysmon[FEB] = FEBDAYS(year); mon = DEC+1; } day += _daysmon[mon-1]; @@ -80,7 +80,7 @@ normalize(struct tm *tm) if (year == _MAXYEAR) return 0; year++; - _daysmon[FEB] = _febdays(year); + _daysmon[FEB] = FEBDAYS(year); mon = JAN-1; } }