From bc0b79f0329ffa53939a0c69a0ceb12a443512db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 5 Oct 2018 03:39:08 +0200 Subject: [PATCH] Make out_to_stderr setting non-static --- src/conky.cc | 3 +-- src/conky.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index 33fbe299..d2eb170e 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -200,8 +200,7 @@ conky::simple_config_setting out_to_stdout("out_to_console", true, #endif false); -static conky::simple_config_setting out_to_stderr("out_to_stderr", false, - false); +conky::simple_config_setting out_to_stderr("out_to_stderr", false, false); int top_cpu, top_mem, top_time; #ifdef BUILD_IOSTATS diff --git a/src/conky.h b/src/conky.h index b91f0f49..65002783 100644 --- a/src/conky.h +++ b/src/conky.h @@ -380,4 +380,7 @@ extern char **argv_copy; extern const char *getopt_string; extern const struct option longopts[]; +extern conky::simple_config_setting out_to_stdout; +extern conky::simple_config_setting out_to_stderr; + #endif /* _conky_h_ */