summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-29 16:22:09 +0100
committermonsta <[email protected]>2020-02-17 12:02:18 +0300
commit54f5f2402a3ff4e141418e584c876c27ed265285 (patch)
treeb154920566358b6676af5bf68f5e0a44145afe73
parent9f1402483505a91ed1dd709956de90a719c38969 (diff)
downloadmate-utils-54f5f2402a3ff4e141418e584c876c27ed265285.tar.bz2
mate-utils-54f5f2402a3ff4e141418e584c876c27ed265285.tar.xz
Fix build using gcc 10 -fno-common flag
Closes #258
-rw-r--r--baobab/src/baobab.c2
-rw-r--r--baobab/src/baobab.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c
index c2837c7e..0fb635c1 100644
--- a/baobab/src/baobab.c
+++ b/baobab/src/baobab.c
@@ -42,6 +42,8 @@
static void push_iter_in_stack (GtkTreeIter *);
static GtkTreeIter pop_iter_from_stack (void);
+BaobabApplication baobab;
+
static gint currentdepth = 0;
static GtkTreeIter currentiter;
static GtkTreeIter firstiter;
diff --git a/baobab/src/baobab.h b/baobab/src/baobab.h
index eb7c4a58..875fc7f7 100644
--- a/baobab/src/baobab.h
+++ b/baobab/src/baobab.h
@@ -99,7 +99,7 @@ struct _BaobabApplication {
};
/* Application singleton */
-BaobabApplication baobab;
+extern BaobabApplication baobab;
struct chan_data {
guint64 size;