gfio: don't have multiple versions of main_ui
[fio.git] / gfio.h
diff --git a/gfio.h b/gfio.h
index aa14e3c7d961108c7759bbe9449c2fbea7b65d57..2bf0ea2424373ae6f3a589e36e08c983c3d75950 100644 (file)
--- a/gfio.h
+++ b/gfio.h
@@ -78,7 +78,9 @@ struct gui {
        int handler_running;
 
        GHashTable *ge_hash;
-} main_ui;
+};
+
+extern struct gui main_ui;
 
 enum {
        GE_STATE_NEW = 1,