Trim a redundant definition that confuses older compilers. (Regression testing
against Red Hat 9.)
diff --git a/main.c b/main.c
index b264ec6..56d6eb3 100644
--- a/main.c
+++ b/main.c
@@ -22,6 +22,7 @@
// global context for this applet.
struct toy_context toys;
+union toy_union toy;
char toybuf[4096];
struct toy_list *toy_find(char *name)
diff --git a/toys/toylist.h b/toys/toylist.h
index 9bdea7d..715b561 100644
--- a/toys/toylist.h
+++ b/toys/toylist.h
@@ -32,7 +32,7 @@
// "E:jJ:L:m:O:"
#define MKE2FS_OPTSTRING "<1>2Fnqm#N#i#b#"
-union toy_union {
+extern union toy_union {
struct df_data df;
struct mke2fs_data mke2fs;
} toy;