client: Make proxy_destroy a static function
authorJonas Ådahl <jadahl@gmail.com>
Wed, 27 Apr 2016 06:46:54 +0000 (14:46 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 28 Apr 2016 07:01:31 +0000 (15:01 +0800)
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>
src/wayland-client.c

index 33033e7..0c2ab32 100644 (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)