config: make config_var_is_dumpable static.

This commit is contained in:
Nick Mathewson 2019-09-05 11:48:34 -04:00 committed by David Goulet
parent 8d685aee7c
commit 7171ce2a2a
2 changed files with 1 additions and 2 deletions

View File

@ -614,7 +614,7 @@ config_var_is_listable(const config_var_t *var)
* This option may be set because a variable is hidden, or because it is * This option may be set because a variable is hidden, or because it is
* derived from another variable which will already be written out. * derived from another variable which will already be written out.
**/ **/
bool static bool
config_var_is_dumpable(const config_var_t *var) config_var_is_dumpable(const config_var_t *var)
{ {
if (config_var_is_derived(var)) { if (config_var_is_derived(var)) {

View File

@ -191,7 +191,6 @@ void warn_deprecated_option(const char *what, const char *why);
bool config_var_is_settable(const config_var_t *var); bool config_var_is_settable(const config_var_t *var);
bool config_var_is_listable(const config_var_t *var); bool config_var_is_listable(const config_var_t *var);
bool config_var_is_dumpable(const config_var_t *var);
/* Helper macros to compare an option across two configuration objects */ /* Helper macros to compare an option across two configuration objects */
#define CFG_EQ_BOOL(a,b,opt) ((a)->opt == (b)->opt) #define CFG_EQ_BOOL(a,b,opt) ((a)->opt == (b)->opt)