[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] config: make config_var_is_dumpable static.



commit 7171ce2a2a4d51db5b39908b7b4d4eb0e4c28a30
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Sep 5 11:48:34 2019 -0400

    config: make config_var_is_dumpable static.
---
 src/app/config/confparse.c | 2 +-
 src/app/config/confparse.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c
index 361500466..2c8779bbe 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 b5d0eb3ba..054348d8d 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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits