summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-29 16:11:41 +0100
committerraveit65 <[email protected]>2020-01-30 17:25:35 +0100
commit7f1c453139e5c4309b4b9c880bcfd82a06b90730 (patch)
treeea0f71ecb7b01fbddcd5280358e695f68f59e905
parentc20965a05dda4b8a5e22f3b6807897cab4428070 (diff)
downloadmate-control-center-7f1c453139e5c4309b4b9c880bcfd82a06b90730.tar.bz2
mate-control-center-7f1c453139e5c4309b4b9c880bcfd82a06b90730.tar.xz
Fix build using gcc 10 -fno-common flag
-rw-r--r--capplets/time-admin/src/time-share.c2
-rw-r--r--capplets/time-admin/src/time-share.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/capplets/time-admin/src/time-share.c b/capplets/time-admin/src/time-share.c
index c65189b4..e50d983c 100644
--- a/capplets/time-admin/src/time-share.c
+++ b/capplets/time-admin/src/time-share.c
@@ -21,6 +21,8 @@
#include "time-share.h"
#include <glib/gi18n.h>
+int TimeoutFlag;
+
int ErrorMessage (const char *Title,
const char *Msg)
{
diff --git a/capplets/time-admin/src/time-share.h b/capplets/time-admin/src/time-share.h
index b3c26ab4..048455e2 100644
--- a/capplets/time-admin/src/time-share.h
+++ b/capplets/time-admin/src/time-share.h
@@ -33,7 +33,7 @@
#include <libintl.h>
#include <gio/gio.h>
-int TimeoutFlag;
+extern int TimeoutFlag;
typedef struct
{
GtkWidget *MainWindow;