diff --git a/xlhtml/ascii.c b/xlhtml/ascii.c
index 15d0205..dae262f 100644
--- a/xlhtml/ascii.c
+++ b/xlhtml/ascii.c
@@ -8,7 +8,6 @@ extern void SetupExtraction(void);
extern void do_cr(void);
extern int center_tables;
-extern int ws_array;
extern int first_sheet;
extern int last_sheet;
extern uni_string default_font;
@@ -48,9 +47,9 @@ extern void output_cell( cell *, int);
extern uni_string author;
extern int null_string(U8 *);
extern int Csv;
-extern int xf_array;
-
-
+work_sheet **ws_array;
+font_attr **font_array;
+xf_attr **xf_array;
void OutputPartialTableAscii(void)
{
diff --git a/xlhtml/html.c b/xlhtml/html.c
index 9eb9aab..c425bc9 100644
--- a/xlhtml/html.c
+++ b/xlhtml/html.c
@@ -47,7 +47,8 @@ extern void output_cell( cell *, int);
extern uni_string author;
extern int null_string(U8 *);
extern unsigned int next_font;
-extern struct work_sheet;
+work_sheet **ws_array;
+font_attr **font_array;
void output_header(void);
void output_footer(void);
diff --git a/xlhtml/xml.c b/xlhtml/xml.c
index 9994a91..86e8366 100644
--- a/xlhtml/xml.c
+++ b/xlhtml/xml.c
@@ -3,7 +3,6 @@
extern void do_cr(void);
extern int center_tables;
-extern int ws_array;
extern int first_sheet;
extern int last_sheet;
extern uni_string default_font;
@@ -44,6 +43,8 @@ extern void output_cell( cell *, int);
extern uni_string author;
extern int null_string(U8 *);
+work_sheet **ws_array;
+
void OutputTableXML(void)
{