diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-04 14:01:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-09-04 14:23:19 -0400 |
commit | 3db56aeeb8a59629690a05cd43565764a254d1e1 (patch) | |
tree | 9837237dc0022c01e35b546100b98286f801f548 | |
parent | 39316da9b643583f52c1ff30bca7a07ea04cdba3 (diff) | |
download | tor-3db56aeeb8a59629690a05cd43565764a254d1e1.tar.gz tor-3db56aeeb8a59629690a05cd43565764a254d1e1.zip |
Document warn_deprecated_option().
-rw-r--r-- | src/app/config/confparse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c index 23a89ba627..b0ff4daa83 100644 --- a/src/app/config/confparse.c +++ b/src/app/config/confparse.c @@ -578,6 +578,10 @@ config_mark_lists_fragile(const config_mgr_t *mgr, void *options) } SMARTLIST_FOREACH_END(mv); } +/** + * Log a warning that declaring that the option called <b>what</b> + * is deprecated because of the reason in <b>why</b>. + **/ void warn_deprecated_option(const char *what, const char *why) { |