summaryrefslogtreecommitdiff
path: root/i3status.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2016-12-13 12:32:57 -0600
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2016-12-13 19:32:57 +0100
commit7a7974d76dc9afd66d588148dce1610ec1fab439 (patch)
tree109e01afdbe1248e1b7da774c3a19c50a71198cc /i3status.c
parent6f7724ec6425944a09ba6bd14828d1e2fd5b3467 (diff)
Fix i3status to compile with -fno-common (#185)
This avoids multiple declarations of the same global variable in different source files.
Diffstat (limited to 'i3status.c')
-rw-r--r--i3status.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/i3status.c b/i3status.c
index 1968a97..3b9ab72 100644
--- a/i3status.c
+++ b/i3status.c
@@ -71,6 +71,11 @@ void **cur_instance;
pthread_t main_thread;
+markup_format_t markup_format;
+output_format_t output_format;
+
+char *pct_mark;
+
/*
* Set the exit_upon_signal flag, because one cannot do anything in a safe
* manner in a signal handler (e.g. fprintf, which we really want to do for