1090dbc6b4
The specified order of fields wastes space when the cfb_font_caps enum isn't packed. Reorder to avoid this behavior. Also remove the unnecessary array size on the extern symbol declaration, lest the compiler misinterpret the properties as being zero-length arrays rather than pointers. (The idiom is already technically using undefined behavior since we're relying on the linker rather than the language to produce an array from the individual declarations.) Signed-off-by: Peter A. Bigot <pab@pabigot.com> |
||
---|---|---|
.. | ||
cfb.h | ||
framebuf.h | ||
grove_lcd.h | ||
mb_display.h |