diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-09-13 12:15:23 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-09-13 12:15:23 -0700 |
commit | a92716f1da2741fca850b3c37299e80032726276 (patch) | |
tree | 6a536ad9a4d72e9c717262265dde7cc3c0a46514 /src | |
parent | 476ccc1ba3d20f3a545b84089b6fbd40576e7bf5 (diff) |
Finish removing deprecated functions. Fixes build failure (oops).
Diffstat (limited to 'src')
-rw-r--r-- | src/xcb_in.c | 16 | ||||
-rw-r--r-- | src/xcb_xlib.c | 5 | ||||
-rw-r--r-- | src/xcbxlib.h | 3 |
3 files changed, 0 insertions, 24 deletions
diff --git a/src/xcb_in.c b/src/xcb_in.c index b45637f..d513cdd 100644 --- a/src/xcb_in.c +++ b/src/xcb_in.c @@ -363,11 +363,6 @@ int XCBPollForReply(XCBConnection *c, unsigned int request, void **reply, XCBGen return ret; } -XCBGenericEvent *XCBWaitEvent(XCBConnection *c) -{ - return XCBWaitForEvent(c); -} - XCBGenericEvent *XCBWaitForEvent(XCBConnection *c) { XCBGenericEvent *ret; @@ -420,17 +415,6 @@ XCBGenericError *XCBRequestCheck(XCBConnection *c, XCBVoidCookie cookie) 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/src/xcb_xlib.c b/src/xcb_xlib.c index 09f74a7..61518f7 100644 --- a/src/xcb_xlib.c +++ b/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/src/xcbxlib.h b/src/xcbxlib.h index 4ceb03e..59dd2a5 100644 --- a/src/xcbxlib.h +++ b/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); |