summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2016-04-27 14:46:54 +0800
committerJonas Ådahl <jadahl@gmail.com>2016-04-28 15:01:31 +0800
commit9a652c44f7fb9ce6894a41a87d8fe571ad59969d (patch)
tree3fdebcfc9bcfaac2dcf884a6634ff1b8283ac10a
parent85b80f5cf059e4e6dbcdea44679d14d5b91548cf (diff)
downloadwayland-9a652c44f7fb9ce6894a41a87d8fe571ad59969d.tar.gz
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>
-rw-r--r--src/wayland-client.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wayland-client.c b/src/wayland-client.c
index 33033e7..0c2ab32 100644
--- a/src/wayland-client.c
+++ b/src/wayland-client.c
@@ -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)