[tor-commits] [tor/master] Correct the type for config_decl_ROUTERSET

nickm at torproject.org nickm at torproject.org
Fri Jan 17 13:37:45 UTC 2020

commit 87f7c2d01817913b3fcf36a3025c55feef13612c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Dec 19 10:42:10 2019 -0500

    Correct the type for config_decl_ROUTERSET
    This needs to be a point so that the CONF_VAR() macro can work
 src/feature/nodelist/routerset.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/nodelist/routerset.h b/src/feature/nodelist/routerset.h
index 6bd97f942..936a2d0ff 100644
--- a/src/feature/nodelist/routerset.h
+++ b/src/feature/nodelist/routerset.h
@@ -46,7 +46,7 @@ int routerset_len(const routerset_t *set);
 struct var_type_def_t;
 extern const struct var_type_def_t ROUTERSET_type_defn;
-typedef routerset_t config_decl_ROUTERSET;
+typedef routerset_t *config_decl_ROUTERSET;
 #include "lib/container/bitarray.h"

More information about the tor-commits mailing list