RTEMS | Reformat cpukit rtems src (!237)
Gedare Bloom (@gedare)
gitlab at rtems.org
Tue Sep 24 00:53:06 UTC 2024
Gedare Bloom commented on a discussion on cpukit/rtems/src/clocktodtoseconds.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112478
> #include <rtems/score/todimpl.h>
>
> const uint16_t _TOD_Days_to_date[ 2 ][ 13 ] = {
> - { 0, 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 },
> - { 0, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 }
> + {0, 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335},
> + {0, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}
> };
This appears to be a side-effect of the AlignArrayOfStructures. This option may have to be debated.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112478
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240924/a6be5fac/attachment-0001.htm>
More information about the bugs
mailing list