leapyear 52 bsp/drv/dev/rtc/rtc.c #define days_in_year(a) (leapyear(a) ? 366 : 365) leapyear 120 bsp/drv/dev/rtc/rtc.c if (leapyear(year) && dt->mon > FEBRUARY) leapyear 160 bsp/drv/dev/rtc/rtc.c if (leapyear(i))