From: Jamey Sharp Date: Wed, 13 Sep 2006 19:15:23 +0000 (-0700) Subject: Finish removing deprecated functions. Fixes build failure (oops). X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=inline;h=a92716f1da2741fca850b3c37299e80032726276;p=free-sw%2Fxcb%2Flibxcb Finish removing deprecated functions. Fixes build failure (oops). --- 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);