mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Document warn_deprecated_option().
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user