diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-19 10:42:10 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-12-19 10:42:10 -0500 |
commit | 87f7c2d01817913b3fcf36a3025c55feef13612c (patch) | |
tree | fd35e8ea2c39053b5e3f765473226978dd4c8b9c /src/feature/nodelist | |
parent | 373950340488123fb18c49f8a126a3ef9affb1e6 (diff) | |
download | tor-87f7c2d01817913b3fcf36a3025c55feef13612c.tar.gz tor-87f7c2d01817913b3fcf36a3025c55feef13612c.zip |
Correct the type for config_decl_ROUTERSET
This needs to be a point so that the CONF_VAR() macro can work
correctly.
Diffstat (limited to 'src/feature/nodelist')
-rw-r--r-- | src/feature/nodelist/routerset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/nodelist/routerset.h b/src/feature/nodelist/routerset.h index 6bd97f9422..936a2d0ff0 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; #ifdef ROUTERSET_PRIVATE #include "lib/container/bitarray.h" |