aboutsummaryrefslogtreecommitdiff
path: root/src/lib/conf/confmacros.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-09-10 09:51:07 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-09-11 09:42:19 -0400
commite61bfd0bfd1acfdd4f5d5912c5cc2c0e8ec61b75 (patch)
treec5e0029fbb3ab052d6e6a4b46b0e241509a9679c /src/lib/conf/confmacros.h
parentfe5033d3b0f618493ec8ffd4274352ed42835bdb (diff)
downloadtor-e61bfd0bfd1acfdd4f5d5912c5cc2c0e8ec61b75.tar.gz
tor-e61bfd0bfd1acfdd4f5d5912c5cc2c0e8ec61b75.zip
Extract common list of flags to use for obsolete variables.
Diffstat (limited to 'src/lib/conf/confmacros.h')
-rw-r--r--src/lib/conf/confmacros.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/conf/confmacros.h b/src/lib/conf/confmacros.h
index a32667e1ab..68121891f1 100644
--- a/src/lib/conf/confmacros.h
+++ b/src/lib/conf/confmacros.h
@@ -61,8 +61,7 @@
#define CONFIG_VAR_OBSOLETE(varname) \
{ .member = { .name = varname, .type = CONFIG_TYPE_OBSOLETE }, \
- .flags = CFLG_NOSET | CFLG_NOLIST | CFLG_NODUMP | CFLG_NOCOPY | \
- CFLG_NOCMP \
+ .flags = CFLG_GROUP_OBSOLETE \
}
#endif /* !defined(TOR_LIB_CONF_CONFMACROS_H) */