projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Factor out pthread_mutex_lock and unlock calls for the iolock.
[free-sw/xcb/libxcb]
/
src
/
xcbxlib.h
diff --git
a/src/xcbxlib.h
b/src/xcbxlib.h
index
462e2e3
..
7e050c2
100644
(file)
--- a/
src/xcbxlib.h
+++ b/
src/xcbxlib.h
@@
-32,11
+32,8
@@
#include "xcb.h"
/* This function must be called with the IOLock held. */
#include "xcb.h"
/* This function must be called with the IOLock held. */
-unsigned int
XCBGetQueuedRequestRead(XCBConnection
*c);
+unsigned int
xcb_get_request_sent(xcb_connection_t
*c);
-/* This function must be called with the IOLock held. */
-unsigned int XCBGetRequestSent(XCBConnection *c);
-
-pthread_mutex_t *XCBGetIOLock(XCBConnection *c);
+pthread_mutex_t *xcb_get_io_lock(xcb_connection_t *c);
#endif
#endif