ports/textproc/xlhtml/files/patch-xlhtml_ascii.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

15 lines
430 B
C

--- xlhtml/ascii.c.orig 2002-04-11 03:25:17 UTC
+++ xlhtml/ascii.c
@@ -48,9 +48,9 @@ extern void output_cell( cell *, int);
extern uni_string author;
extern int null_string(U8 *);
extern int Csv;
-work_sheet **ws_array;
-font_attr **font_array;
-xf_attr **xf_array;
+extern work_sheet **ws_array;
+extern font_attr **font_array;
+extern xf_attr **xf_array;
extern int IsCellNumeric(cell *);
extern int IsCellSafe(cell *);