diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-06-20 16:26:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-06-25 12:51:25 -0400 |
commit | b6457d4c08f601c4e42e64aad47ac9c30c36306e (patch) | |
tree | e55ee7afd31ae73116e33d132618474012483333 /src/test/test_confparse.c | |
parent | 5b252d31ede521bea53c690693a2ab3d74c8fef4 (diff) | |
download | tor-b6457d4c08f601c4e42e64aad47ac9c30c36306e.tar.gz tor-b6457d4c08f601c4e42e64aad47ac9c30c36306e.zip |
Extend macros to allow flag arguments.
Diffstat (limited to 'src/test/test_confparse.c')
-rw-r--r-- | src/test/test_confparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_confparse.c b/src/test/test_confparse.c index 4bf66f3230..4612419dff 100644 --- a/src/test/test_confparse.c +++ b/src/test/test_confparse.c @@ -49,7 +49,7 @@ typedef struct test_struct_t { static test_struct_t test_struct_t_dummy; #define VAR(varname,conftype,member,initvalue) \ - CONFIG_VAR_ETYPE(test_struct_t, varname, conftype, member, initvalue) + CONFIG_VAR_ETYPE(test_struct_t, varname, conftype, member, 0, initvalue) #define V(member,conftype,initvalue) \ VAR(#member, conftype, member, initvalue) #define OBSOLETE(varname) \ |