weston-log: rename a confusing parameter name in weston_compositor_add_log_scope()
authorLeandro Ribeiro <leandrohr@riseup.net>
Wed, 18 Dec 2019 17:52:23 +0000 (14:52 -0300)
committerLeandro Ribeiro <leandrohr@riseup.net>
Mon, 27 Jan 2020 16:31:01 +0000 (13:31 -0300)
commit861d93ff8d9dc04eb006237434baa79d7107e639
tree3c0dd514047a164a11f4fcf9713f900b0f211b42
parent9dccfd1ef3f0d20b4ec4ca62703e3aa618f09596
weston-log: rename a confusing parameter name in weston_compositor_add_log_scope()

In the function weston_compositor_add_log_scope() we have
a struct weston_log_context parameter that in the .c file
is named log_ctx. In the .h, the same parameter is named
compositor. This is confusing, since its type is not
struct weston_compositor, but struct weston_log_context.

Rename the parameter in the .h to log_ctx.

Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net>
include/libweston/weston-log.h