client: Make proxy_destroy a static function

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@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Jonas Ådahl 2016-04-27 14:46:54 +08:00
parent 85b80f5cf0
commit 9a652c44f7

View File

@ -252,9 +252,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)
{
@ -404,7 +401,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)