From a92716f1da2741fca850b3c37299e80032726276 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Wed, 13 Sep 2006 12:15:23 -0700 Subject: [PATCH] Finish removing deprecated functions. Fixes build failure (oops). --- src/xcb_in.c | 16 ---------------- src/xcb_xlib.c | 5 ----- src/xcbxlib.h | 3 --- 3 files changed, 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 @@ -31,9 +31,6 @@ #include #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); -- 2.34.1