From ac691a89cd8b671c54525b0ab41b071d2fd40e07 Mon Sep 17 00:00:00 2001 From: Leandro Ribeiro Date: Wed, 18 Dec 2019 15:21:03 -0300 Subject: [PATCH] weston-log: rename the confusing function name weston_compositor_add_log_scope() There's a function named weston_compositor_add_log_scope() but it doesn't take a struct weston_compositor argument. Rename it to weston_log_ctx_add_log_scope(), as the log_scope is being added to a log_context. Signed-off-by: Leandro Ribeiro --- libweston/weston-log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libweston/weston-log.c b/libweston/weston-log.c index 20b9deae..544e777f 100644 --- a/libweston/weston-log.c +++ b/libweston/weston-log.c @@ -726,7 +726,8 @@ weston_log_subscription_complete(struct weston_log_subscription *sub) * stream. Particularly useful for the weston-debug protocol. * * @memberof weston_log_scope - * @sa weston_log_ctx_add_log_scope, weston_log_scope_destroy + * @sa weston_log_ctx_add_log_scope, weston_compositor_add_log_scope, + * weston_log_scope_destroy */ WL_EXPORT void weston_log_scope_complete(struct weston_log_scope *scope)