Remove xcb_get_io_lock from the Xlib-specific API: it is no longer used.
[free-sw/xcb/libxcb] / src / xcb_xlib.c
index f352ca2..59f972c 100644 (file)
@@ -35,13 +35,6 @@ unsigned int xcb_get_request_sent(xcb_connection_t *c)
     return c->out.request;
 }
 
-pthread_mutex_t *xcb_get_io_lock(xcb_connection_t *c)
-{
-    if(c->has_error)
-        return 0;
-    return &c->iolock;
-}
-
 void xcb_xlib_lock(xcb_connection_t *c)
 {
     _xcb_lock_io(c);