framebuffer: Fix internal font generated source for GCC 10.
This commit is contained in:
parent
de7244a170
commit
434f6c3fe7
|
@ -290,14 +290,14 @@ static bool generate_font_header(const char *path, struct font_data *data)
|
||||||
|
|
||||||
|
|
||||||
for (s = 0; s < 4; s++) {
|
for (s = 0; s < 4; s++) {
|
||||||
fprintf(fp, "const uint8_t *%s_section_table;\n",
|
fprintf(fp, "extern const uint8_t *%s_section_table;\n",
|
||||||
var_lables[s]);
|
var_lables[s]);
|
||||||
fprintf(fp, "const uint16_t *%s_sections;\n",
|
fprintf(fp, "extern const uint16_t *%s_sections;\n",
|
||||||
var_lables[s]);
|
var_lables[s]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(fp, "const uint8_t *font_glyph_data;\n");
|
fprintf(fp, "extern const uint8_t *font_glyph_data;\n");
|
||||||
|
|
||||||
fprintf(fp, "\n\n");
|
fprintf(fp, "\n\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue