[PATCH weston 06/15] libweston: unexport weston_compositor_add_output()

Armin Krezović krezovic.armin at gmail.com
Tue Apr 4 19:48:53 UTC 2017


On 04.04.2017 12:58, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> Only used by weston_output_enable().
> 
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Reviewed-by: Armin Krezović <krezovic.armin at gmail.com>

Thanks, Armin.

> ---
>  libweston/compositor.c | 2 +-
>  libweston/compositor.h | 3 ---
>  2 files changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/libweston/compositor.c b/libweston/compositor.c
> index 69e63c2..3c8be62 100644
> --- a/libweston/compositor.c
> +++ b/libweston/compositor.c
> @@ -4469,7 +4469,7 @@ weston_output_move(struct weston_output *output, int x, int y)
>   *
>   * \internal
>   */
> -WL_EXPORT void
> +static void
>  weston_compositor_add_output(struct weston_compositor *compositor,
>                               struct weston_output *output)
>  {
> diff --git a/libweston/compositor.h b/libweston/compositor.h
> index 6070c77..6c05d59 100644
> --- a/libweston/compositor.h
> +++ b/libweston/compositor.h
> @@ -1715,9 +1715,6 @@ void
>  weston_output_move(struct weston_output *output, int x, int y);
>  
>  void
> -weston_compositor_add_output(struct weston_compositor *compositor,
> -                             struct weston_output *output);
> -void
>  weston_output_destroy(struct weston_output *output);
>  void
>  weston_output_transform_coordinate(struct weston_output *output,
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170404/bd43d38c/attachment.sig>


More information about the wayland-devel mailing list