[PATCH weston v3 13/17] compositor-wayland: refactor backend_init

Benoit Gschwind gschwind at gnu-log.net
Thu May 5 20:45:51 UTC 2016


Rename unused variable config to wc in backend_init function.

Signed-off-by: Benoit Gschwind <gschwind at gnu-log.net>
---
 src/compositor-wayland.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index 133bd37..67d20d0 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -2278,7 +2278,7 @@ config_init_to_defaults(struct weston_wayland_backend_config *config)
 
 WL_EXPORT int
 backend_init(struct weston_compositor *compositor, int *argc, char *argv[],
-	     struct weston_config *config,
+	     struct weston_config *wc,
 	     struct weston_backend_config *config_base)
 {
 	struct wayland_backend *b;
-- 
2.7.3



More information about the wayland-devel mailing list