From 7a7974d76dc9afd66d588148dce1610ec1fab439 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Tue, 13 Dec 2016 12:32:57 -0600 Subject: Fix i3status to compile with -fno-common (#185) This avoids multiple declarations of the same global variable in different source files. --- i3status.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'i3status.c') 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 -- cgit v1.2.3