[PATCH wayland 3/4] client: Make proxy_destroy a static function

Pekka Paalanen ppaalanen at gmail.com
Wed Apr 27 10:38:05 UTC 2016


On Wed, 27 Apr 2016 15:37:40 +0800
Jonas Ådahl <jadahl at gmail.com> wrote:

> proxy_destroy() is just the implementation of the atomic part of
> wl_proxy_destroy(), so lets make it static.
> 
> Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
> ---
>  src/wayland-client.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/src/wayland-client.c b/src/wayland-client.c
> index f21b5f7..6de91cd 100644
> --- a/src/wayland-client.c
> +++ b/src/wayland-client.c
> @@ -253,9 +253,6 @@ decrease_closure_args_refcount(struct wl_closure *closure)
>  	}
>  }
>  
> -void
> -proxy_destroy(struct wl_proxy *proxy);
> -
>  static void
>  wl_event_queue_release(struct wl_event_queue *queue)
>  {
> @@ -405,7 +402,7 @@ wl_proxy_create_for_id(struct wl_proxy *factory,
>  	return proxy;
>  }
>  
> -void
> +static void
>  proxy_destroy(struct wl_proxy *proxy)
>  {
>  	if (proxy->flags & WL_PROXY_FLAG_ID_DELETED)

Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160427/9d2811b7/attachment.sig>


More information about the wayland-devel mailing list