diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-05 11:48:34 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-09-11 09:42:19 -0400 |
commit | 7171ce2a2a4d51db5b39908b7b4d4eb0e4c28a30 (patch) | |
tree | c1a75f090d0bc38603454cebac5d50308325280b /src | |
parent | 8d685aee7c89bc0118a4550c1bb5a3c82dfb4c4c (diff) | |
download | tor-7171ce2a2a4d51db5b39908b7b4d4eb0e4c28a30.tar.gz tor-7171ce2a2a4d51db5b39908b7b4d4eb0e4c28a30.zip |
config: make config_var_is_dumpable static.
Diffstat (limited to 'src')
-rw-r--r-- | src/app/config/confparse.c | 2 | ||||
-rw-r--r-- | src/app/config/confparse.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c index 3615004663..2c8779bbea 100644 --- a/src/app/config/confparse.c +++ b/src/app/config/confparse.c @@ -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 * derived from another variable which will already be written out. **/ -bool +static bool config_var_is_dumpable(const config_var_t *var) { if (config_var_is_derived(var)) { diff --git a/src/app/config/confparse.h b/src/app/config/confparse.h index b5d0eb3bae..054348d8d4 100644 --- a/src/app/config/confparse.h +++ b/src/app/config/confparse.h @@ -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_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 */ #define CFG_EQ_BOOL(a,b,opt) ((a)->opt == (b)->opt) |