commit 3db56aeeb8a59629690a05cd43565764a254d1e1 parent 39316da9b643583f52c1ff30bca7a07ea04cdba3 Author: Nick Mathewson <nickm@torproject.org> Date: Wed, 4 Sep 2019 14:01:43 -0400 Document warn_deprecated_option(). Diffstat:
| M | src/app/config/confparse.c | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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) {