summaryrefslogtreecommitdiff
path: root/src/lib/conf/confmacros.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-06-20 16:07:00 -0400
committerNick Mathewson <nickm@torproject.org>2019-06-25 12:51:25 -0400
commit5b252d31ede521bea53c690693a2ab3d74c8fef4 (patch)
treed94bb5170b846c5732d8defb9be8dae3d9bac012 /src/lib/conf/confmacros.h
parentc553750e32d1bf669a3e8308fa44319954a627ca (diff)
downloadtor-5b252d31ede521bea53c690693a2ab3d74c8fef4.tar.gz
tor-5b252d31ede521bea53c690693a2ab3d74c8fef4.zip
Add a "flags" member to config_var_t
Additionally, adjust the macros so that we can add new members like this more easily.
Diffstat (limited to 'src/lib/conf/confmacros.h')
-rw-r--r--src/lib/conf/confmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/conf/confmacros.h b/src/lib/conf/confmacros.h
index 29040e1f55..4242137c5a 100644
--- a/src/lib/conf/confmacros.h
+++ b/src/lib/conf/confmacros.h
@@ -19,7 +19,7 @@
* Used to indicate the end of an array of configuration variables.
**/
#define END_OF_CONFIG_VARS \
- { { .name = NULL }, NULL DUMMY_CONF_TEST_MEMBERS }
+ { .member = { .name = NULL } DUMMY_CONF_TEST_MEMBERS }
/**
* Declare a config_var_t as a member named <b>membername</b> of the structure