summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-10-06 16:47:50 -0700
committerJamey Sharp <jamey@minilop.net>2006-10-06 16:47:50 -0700
commit9bd2c0c58fbe4c994e76619c2d67e46ed8b43030 (patch)
tree57b657e2a53da281d86120399c68a604a228aafd
parent34168ab549fdf7c6c8a6fbe39824116698d01b12 (diff)
Remove xcb_get_io_lock from the Xlib-specific API: it is no longer used.
-rw-r--r--src/xcb_xlib.c7
-rw-r--r--src/xcbxlib.h2
2 files changed, 0 insertions, 9 deletions
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);
diff --git a/src/xcbxlib.h b/src/xcbxlib.h
index da4a044..628d71d 100644
--- a/src/xcbxlib.h
+++ b/src/xcbxlib.h
@@ -34,8 +34,6 @@
/* This function must be called with the IOLock held. */
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_unlock(xcb_connection_t *c);