X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_xlib.c;h=59f972c8033c7cf9b742025378ed9afe38831ca3;hb=608058ec80edb041ca012d530b42d97474f80320;hp=f352ca2fb71cbd02762bf5c5ec9375c24c618cec;hpb=40589db8124b8c72894deb86a825c6117b0a2cd2;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_xlib.c b/src/xcb_xlib.c index f352ca2..59f972c 100644 --- a/src/xcb_xlib.c +++ b/src/xcb_xlib.c @@ -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);