Remove xcb_get_io_lock from the Xlib-specific API: it is no longer used.
This commit is contained in:
parent
34168ab549
commit
9bd2c0c58f
|
@ -35,13 +35,6 @@ unsigned int xcb_get_request_sent(xcb_connection_t *c)
|
||||||
return c->out.request;
|
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)
|
void xcb_xlib_lock(xcb_connection_t *c)
|
||||||
{
|
{
|
||||||
_xcb_lock_io(c);
|
_xcb_lock_io(c);
|
||||||
|
|
|
@ -34,8 +34,6 @@
|
||||||
/* This function must be called with the IOLock held. */
|
/* This function must be called with the IOLock held. */
|
||||||
unsigned int xcb_get_request_sent(xcb_connection_t *c);
|
unsigned int xcb_get_request_sent(xcb_connection_t *c);
|
||||||
|
|
||||||
pthread_mutex_t *xcb_get_io_lock(xcb_connection_t *c);
|
|
||||||
|
|
||||||
void xcb_xlib_lock(xcb_connection_t *c);
|
void xcb_xlib_lock(xcb_connection_t *c);
|
||||||
void xcb_xlib_unlock(xcb_connection_t *c);
|
void xcb_xlib_unlock(xcb_connection_t *c);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue