[PATCH weston v3 17/17] compositor-wayland: rename wayland_backend_config_add_new_output

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


Rename wayland_backend_config_add_new_output to
weston_wayland_backend_config_add_new_output.

Signed-off-by: Benoit Gschwind <gschwind at gnu-log.net>
---
 src/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main.c b/src/main.c
index 55ecc08..2e5c743 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1027,7 +1027,7 @@ weston_wayland_backend_config_release(struct weston_wayland_backend_config *conf
  * structure is NOT cleared nor set to default values.
  */
 static struct weston_wayland_backend_output_config *
-wayland_backend_config_add_new_output(struct weston_wayland_backend_config *config) {
+weston_wayland_backend_config_add_new_output(struct weston_wayland_backend_config *config) {
 	struct weston_wayland_backend_output_config *outputs;
 
 	outputs = realloc(config->outputs,
@@ -1092,7 +1092,7 @@ load_wayland_backend(struct weston_compositor *c, char const * backend,
 	}
 
 	if (config.fullscreen) {
-		oc = wayland_backend_config_add_new_output(&config);
+		oc = weston_wayland_backend_config_add_new_output(&config);
 		if (!oc) {
 			ret = -1;
 			goto err_outputs;
@@ -1123,7 +1123,7 @@ load_wayland_backend(struct weston_compositor *c, char const * backend,
 		}
 		free(name);
 
-		oc = wayland_backend_config_add_new_output(&config);
+		oc = weston_wayland_backend_config_add_new_output(&config);
 
 		if (!oc) {
 			ret = -1;
@@ -1143,7 +1143,7 @@ load_wayland_backend(struct weston_compositor *c, char const * backend,
 		scale = 1;
 	while (count > 0) {
 
-		oc = wayland_backend_config_add_new_output(&config);
+		oc = weston_wayland_backend_config_add_new_output(&config);
 
 		if (!oc) {
 			ret = -1;
-- 
2.7.3



More information about the wayland-devel mailing list