--- a/src/ghcal-interface.c
+++ b/src/ghcal-interface.c
@@ -33,6 +33,18 @@
 #include "ghcal-callbacks.h"
 #include "ghcal-interface.h"
 
+hdate_struct today;
+GtkWidget *label_month;
+GtkWidget *label_year;
+GtkWidget *combobox_month;
+GtkWidget *spinbutton_year;
+GtkWidget *label_hebrew_month_and_year;
+int index_day_of_month[42];
+hdate_struct hdate_day_of_month[42];
+GtkWidget *label_day_of_month[42];
+GtkWidget *event_box_day_of_month[42];
+GtkTooltips *tooltip_day_of_month[42];
+
 GtkWidget *
 create_window (void)
 {
--- a/src/ghcal-interface.h
+++ b/src/ghcal-interface.h
@@ -42,16 +42,16 @@
 #  define N_(String) (String)
 #endif
 
-hdate_struct today;
-GtkWidget *label_month;
-GtkWidget *label_year;
-GtkWidget *combobox_month;
-GtkWidget *spinbutton_year;
-GtkWidget *label_hebrew_month_and_year;
-int index_day_of_month[42];
-hdate_struct hdate_day_of_month[42];
-GtkWidget *label_day_of_month[42];
-GtkWidget *event_box_day_of_month[42];
-GtkTooltips *tooltip_day_of_month[42];
+extern hdate_struct today;
+extern GtkWidget *label_month;
+extern GtkWidget *label_year;
+extern GtkWidget *combobox_month;
+extern GtkWidget *spinbutton_year;
+extern GtkWidget *label_hebrew_month_and_year;
+extern int index_day_of_month[42];
+extern hdate_struct hdate_day_of_month[42];
+extern GtkWidget *label_day_of_month[42];
+extern GtkWidget *event_box_day_of_month[42];
+extern GtkTooltips *tooltip_day_of_month[42];
 
 GtkWidget *create_window (void);
