Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/434f6c3fe7d1d2c6a3e6ae6338608a4a4421ab1b
...commit
http://git.netsurf-browser.org/netsurf.git/commit/434f6c3fe7d1d2c6a3e6ae6338608a4a4421ab1b
...tree
http://git.netsurf-browser.org/netsurf.git/tree/434f6c3fe7d1d2c6a3e6ae6338608a4a4421ab1b
The branch, master has been updated
via 434f6c3fe7d1d2c6a3e6ae6338608a4a4421ab1b (commit)
from de7244a17017c3aa35d05b4229e49f8959dcc92d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=434f6c3fe7d1d2c6a3e6ae6338608a4a4421ab1b
commit 434f6c3fe7d1d2c6a3e6ae6338608a4a4421ab1b
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
framebuffer: Fix internal font generated source for GCC 10.
diff --git a/tools/convert_font.c b/tools/convert_font.c
index 9f5734b..d22c859 100644
--- a/tools/convert_font.c
+++ b/tools/convert_font.c
@@ -290,14 +290,14 @@ static bool generate_font_header(const char *path, struct
font_data *data)
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]);
- fprintf(fp, "const uint16_t *%s_sections;\n",
+ fprintf(fp, "extern const uint16_t *%s_sections;\n",
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");
-----------------------------------------------------------------------
Summary of changes:
tools/convert_font.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/convert_font.c b/tools/convert_font.c
index 9f5734b..d22c859 100644
--- a/tools/convert_font.c
+++ b/tools/convert_font.c
@@ -290,14 +290,14 @@ static bool generate_font_header(const char *path, struct
font_data *data)
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]);
- fprintf(fp, "const uint16_t *%s_sections;\n",
+ fprintf(fp, "extern const uint16_t *%s_sections;\n",
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");
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]