[Xcb-commit] xcb
Jamey Sharp
jamey at kemper.freedesktop.org
Wed Sep 13 12:24:07 PDT 2006
xcb/src/xcb_in.c | 16 ----------------
xcb/src/xcb_xlib.c | 5 -----
xcb/src/xcbxlib.h | 3 ---
3 files changed, 24 deletions(-)
New commits:
diff-tree 5a88ac2a5ef9601c58b93f5d5c19f6aac303be85 (from d730e6bcaf1af309b014aa8b8b5f4dca98c14144)
Author: Jamey Sharp <jamey at minilop.net>
Date: Wed Sep 13 12:15:23 2006 -0700
Finish removing deprecated functions. Fixes build failure (oops).
diff --git a/xcb/src/xcb_in.c b/xcb/src/xcb_in.c
index b45637f..d513cdd 100644
--- a/xcb/src/xcb_in.c
+++ b/xcb/src/xcb_in.c
@@ -363,11 +363,6 @@ int XCBPollForReply(XCBConnection *c, un
return ret;
}
-XCBGenericEvent *XCBWaitEvent(XCBConnection *c)
-{
- return XCBWaitForEvent(c);
-}
-
XCBGenericEvent *XCBWaitForEvent(XCBConnection *c)
{
XCBGenericEvent *ret;
@@ -420,17 +415,6 @@ XCBGenericError *XCBRequestCheck(XCBConn
return ret;
}
-unsigned int XCBGetRequestRead(XCBConnection *c)
-{
- unsigned int ret;
- pthread_mutex_lock(&c->iolock);
- /* FIXME: follow X meets Z architecture changes. */
- _xcb_in_read(c);
- ret = c->in.request_read;
- pthread_mutex_unlock(&c->iolock);
- return ret;
-}
-
/* Private interface */
int _xcb_in_init(_xcb_in *in)
diff --git a/xcb/src/xcb_xlib.c b/xcb/src/xcb_xlib.c
index 09f74a7..61518f7 100644
--- a/xcb/src/xcb_xlib.c
+++ b/xcb/src/xcb_xlib.c
@@ -26,11 +26,6 @@
#include "xcbxlib.h"
#include "xcbint.h"
-unsigned int XCBGetQueuedRequestRead(XCBConnection *c)
-{
- return c->in.request_read;
-}
-
unsigned int XCBGetRequestSent(XCBConnection *c)
{
return c->out.request;
diff --git a/xcb/src/xcbxlib.h b/xcb/src/xcbxlib.h
index 4ceb03e..59dd2a5 100644
--- a/xcb/src/xcbxlib.h
+++ b/xcb/src/xcbxlib.h
@@ -32,9 +32,6 @@
#include "xcb.h"
/* This function must be called with the IOLock held. */
-unsigned int XCBGetQueuedRequestRead(XCBConnection *c) deprecated;
-
-/* This function must be called with the IOLock held. */
unsigned int XCBGetRequestSent(XCBConnection *c);
pthread_mutex_t *XCBGetIOLock(XCBConnection *c);
More information about the xcb-commit
mailing list