Commit 3db56aee authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Document warn_deprecated_option().

parent 39316da9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)
{