diff options
author | rbuj <[email protected]> | 2020-01-29 16:22:09 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-01-29 17:33:05 +0100 |
commit | d2d4902a68b8eabf4dc26a8ba49019e5ea6040c6 (patch) | |
tree | 67381fb55dd8d0c6d4f902c553193f9a0e774764 /baobab | |
parent | e0ccce25c26a63bec38d2730a1dcab4c29345b48 (diff) | |
download | mate-utils-d2d4902a68b8eabf4dc26a8ba49019e5ea6040c6.tar.bz2 mate-utils-d2d4902a68b8eabf4dc26a8ba49019e5ea6040c6.tar.xz |
Fix build using gcc 10 -fno-common flag
Closes #258
Diffstat (limited to 'baobab')
-rw-r--r-- | baobab/src/baobab.c | 2 | ||||
-rw-r--r-- | baobab/src/baobab.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c index 07af1a1d..d4edde1f 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 b8d01817..76b22d6a 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; |