ports/textproc/xlhtml/files/patch-xlhtml_html.c
Fernando Apesteguía 8144cb9250 textproc/xlhtml: Fix build with '-fno-common'
Fix build with '-fno-common', default of GCC 10 and Clang 11

While here, pet linters.

PR:	248774
Submitted by:	yasu@utahime.org
2020-08-21 10:49:35 +00:00

13 lines
382 B
C

--- xlhtml/html.c.orig 2002-04-11 04:01:05 UTC
+++ xlhtml/html.c
@@ -47,8 +47,8 @@ extern void output_cell( cell *, int);
extern uni_string author;
extern int null_string(U8 *);
extern unsigned int next_font;
-work_sheet **ws_array;
-font_attr **font_array;
+extern work_sheet **ws_array;
+extern font_attr **font_array;
void output_header(void);
void output_footer(void);