summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Gschwind <gschwind@gnu-log.net>2016-05-10 22:47:53 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2016-05-11 13:43:06 +0300
commit68d6a6c4e7b680901fd40496e0cb9365dbd575a1 (patch)
tree596e882446c25eebe7a06b10820862e67ca3d45d
parent390af6d7ee366f60c40c88b33bbb3b92a257a0e1 (diff)
downloadweston-68d6a6c4e7b680901fd40496e0cb9365dbd575a1.tar.gz
main: rename wayland_backend_config_release function
Rename the wayland_backend_config_release function to weston_wayland_backend_config_release to follow legacy naming scheme. Signed-off-by: Benoit Gschwind <gschwind@gnu-log.net> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> [Pekka: rebased] Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index a0d86135..a139f057 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1086,7 +1086,7 @@ weston_wayland_output_config_init(struct weston_wayland_backend_output_config *o
}
static void
-wayland_backend_config_release(struct weston_wayland_backend_config *new_config)
+weston_wayland_backend_config_release(struct weston_wayland_backend_config *new_config)
{
int i;
@@ -1228,7 +1228,7 @@ load_wayland_backend_config(struct weston_compositor *compositor, int *argc,
return 0;
err_outputs:
- wayland_backend_config_release(config);
+ weston_wayland_backend_config_release(config);
return -1;
}
@@ -1246,7 +1246,7 @@ load_wayland_backend(struct weston_compositor *c, char const * backend,
/* load the actual wayland backend and configure it */
ret = load_backend_new(c, backend, &config.base);
- wayland_backend_config_release(&config);
+ weston_wayland_backend_config_release(&config);
return ret;
}