Finish removing deprecated functions. Fixes build failure (oops).
This commit is contained in:
parent
476ccc1ba3
commit
a92716f1da
16
src/xcb_in.c
16
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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -31,9 +31,6 @@
|
|||
#include <pthread.h>
|
||||
#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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue