]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Correct the type for config_decl_ROUTERSET
authorNick Mathewson <nickm@torproject.org>
Thu, 19 Dec 2019 15:42:10 +0000 (10:42 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 19 Dec 2019 15:42:10 +0000 (10:42 -0500)
This needs to be a point so that the CONF_VAR() macro can work
correctly.

src/feature/nodelist/routerset.h

index 6bd97f9422361b86788377bedc8896ea9906d179..936a2d0ff0a328e38abc2e535ac8ec3497186124 100644 (file)
@@ -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;
 
 #ifdef ROUTERSET_PRIVATE
 #include "lib/container/bitarray.h"