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>
This commit is contained in:
Benoit Gschwind 2016-05-10 22:47:53 +02:00 committed by Pekka Paalanen
parent 390af6d7ee
commit 68d6a6c4e7

View file

@ -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;
}