aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-27 12:37:45 +0200
committermarha <marha@users.sourceforge.net>2012-06-27 12:37:45 +0200
commite65d239082f40e4951b0162d544660e92d798418 (patch)
tree5c0e78de5cccc13e9f73e3b566b894c02c82626e
parent392bc11a81b5fe8c8a340eae23ffa3c5c06b72e7 (diff)
downloadvcxsrv-e65d239082f40e4951b0162d544660e92d798418.tar.gz
vcxsrv-e65d239082f40e4951b0162d544660e92d798418.tar.bz2
vcxsrv-e65d239082f40e4951b0162d544660e92d798418.zip
extern -> XCB_EXTERN
-rw-r--r--libxcb/src/c_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxcb/src/c_client.py b/libxcb/src/c_client.py
index cbd235659..a936b098f 100644
--- a/libxcb/src/c_client.py
+++ b/libxcb/src/c_client.py
@@ -200,7 +200,7 @@ def c_open(self):
_h('#define XCB_%s_MAJOR_VERSION %s', _ns.ext_name.upper(), _ns.major_version)
_h('#define XCB_%s_MINOR_VERSION %s', _ns.ext_name.upper(), _ns.minor_version)
_h(' ') #XXX
- _h('extern xcb_extension_t %s;', _ns.c_ext_global_name)
+ _h('XCB_EXTERN xcb_extension_t %s;', _ns.c_ext_global_name)
_c('')
_c('xcb_extension_t %s = { "%s", 0 };', _ns.c_ext_global_name, _ns.ext_xname)