aboutsummaryrefslogtreecommitdiff
path: root/src/or/confparse.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-03 12:08:57 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-03 12:08:57 -0400
commit66e610da7239e8921c0063043c07c7f2c3fd48d9 (patch)
tree6b0b2c5ac09ee4353b2834f9d7ca2da3d8610185 /src/or/confparse.h
parente6220ccbf8004090b9bcc7228b33d85d2cf9c067 (diff)
downloadtor-66e610da7239e8921c0063043c07c7f2c3fd48d9.tar.gz
tor-66e610da7239e8921c0063043c07c7f2c3fd48d9.zip
Mark a big pile of options as deprecated.
Diffstat (limited to 'src/or/confparse.h')
-rw-r--r--src/or/confparse.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/confparse.h b/src/or/confparse.h
index 415d680d2e..87dd6d8210 100644
--- a/src/or/confparse.h
+++ b/src/or/confparse.h
@@ -81,7 +81,7 @@ typedef struct config_format_t {
off_t magic_offset; /**< Offset of the magic value within the struct. */
config_abbrev_t *abbrevs; /**< List of abbreviations that we expand when
* parsing this format. */
- config_deprecation_t *deprecations; /** List of deprecated options */
+ const config_deprecation_t *deprecations; /** List of deprecated options */
config_var_t *vars; /**< List of variables we recognize, their default
* values, and where we stick them in the structure. */
validate_fn_t validate_fn; /**< Function to validate config. */
@@ -133,6 +133,5 @@ const char *config_expand_abbrev(const config_format_t *fmt,
int command_line, int warn_obsolete);
void warn_deprecated_option(const char *what, const char *why);
-
#endif