mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
config: make config_var_is_dumpable static.
This commit is contained in:
parent
8d685aee7c
commit
7171ce2a2a
@ -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)) {
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user