X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=7c8f33140614240d9021482b0d09fb3f36c0540c;hb=522a6e0eac9adeaac533a5b700f42d85d46e2dd7;hp=0e24d72303dbb58a57679fa5870babd56d3c7f9d;hpb=8ab4dcde9db8175ef0093123bd04c72471e205ff;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index 0e24d72..7c8f331 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -32,6 +32,10 @@ #include "config.h" #endif +#ifdef GCC_HAS_VISIBILITY +#pragma GCC visibility push(hidden) +#endif + enum workarounds { WORKAROUND_NONE, WORKAROUND_GLX_GET_FB_CONFIGS_BUG @@ -86,7 +90,9 @@ typedef struct _xcb_in { char queue[4096]; int queue_len; + unsigned int request_expected; unsigned int request_read; + unsigned int request_completed; struct reply_list *current_reply; struct reply_list **current_reply_tail; @@ -152,4 +158,9 @@ struct XCBConnection { }; int _xcb_conn_wait(XCBConnection *c, const int should_write, pthread_cond_t *cond); + +#ifdef GCC_HAS_VISIBILITY +#pragma GCC visibility pop +#endif + #endif