Skip to content

Commit

Permalink
Make out_to_stderr setting non-static
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuman committed Oct 18, 2018
1 parent 600157c commit 77a768a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/conky.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ conky::simple_config_setting<bool> out_to_stdout("out_to_console",
true,
#endif
false);
static conky::simple_config_setting<bool> out_to_stderr("out_to_stderr", false,
conky::simple_config_setting<bool> out_to_stderr("out_to_stderr", false,
false);

int top_cpu, top_mem, top_time;
Expand Down
1 change: 1 addition & 0 deletions src/conky.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,5 +364,6 @@ extern int argc_copy;
extern char **argv_copy;

extern conky::simple_config_setting<bool> out_to_stdout;
extern conky::simple_config_setting<bool> out_to_stderr;

#endif /* _conky_h_ */

0 comments on commit 77a768a

Please sign in to comment.