Merge branch 'pw_remove_unused_func' into 'master'

pipewire: log: remove `_pw_log_topic_new()`

See merge request pipewire/pipewire!1724
This commit is contained in:
Barnabás Pőcze 2023-10-06 21:38:57 +00:00
commit 23a47cba65
2 changed files with 0 additions and 18 deletions

View file

@ -233,13 +233,6 @@ void pw_log_log_object(enum spa_log_level level,
}
}
SPA_EXPORT
void
_pw_log_topic_new(struct spa_log_topic *topic)
{
spa_log_topic_init(global_log, topic);
}
void
pw_log_init(void)
{

View file

@ -72,17 +72,6 @@ pw_log_logv(enum spa_log_level level,
int line, const char *func,
const char *fmt, va_list args) SPA_PRINTF_FUNC(5, 0);
/** Initialize the log topic. The returned topic is owned by the pipewire
* context and the topic must not be modified or freed.
* Do not use this function directly, use one of PW_LOG_TOPIC_* instead.
*
* \see PW_LOG_TOPIC_STATIC
* \see PW_LOG_TOPIC_EXTERN
* \see PW_LOG_TOPIC
*/
void
_pw_log_topic_new(struct spa_log_topic *topic);
/**
* Declare a static log topic named \a var. The usual usage is:
* \code