X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=9048e9d843259af15a31f027f82e7183415f5ad4;hb=db2504130bc450bd328830060cb3a243dd06b52f;hp=359c681e637e45d1fb74b34426c277c6ef6b5f80;hpb=be1302b6efb33967bce5356af58e3e0ae3b19363;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index 359c681..9048e9d 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -43,6 +43,8 @@ enum workarounds { #define XCB_PAD(i) (-(i) & 3) +#define XCB_SEQUENCE_COMPARE(a,op,b) ((int) ((a) - (b)) op 0) + /* xcb_list.c */ typedef void (*XCBListFreeFunc)(void *); @@ -141,7 +143,7 @@ void _xcb_ext_destroy(XCBConnection *c); struct XCBConnection { /* constant data */ - XCBConnSetupSuccessRep *setup; + XCBSetup *setup; int fd; /* I/O data */