aboutsummaryrefslogtreecommitdiff
path: root/X11/Xlibint.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-24 06:34:49 +0000
committermarha <marha@users.sourceforge.net>2011-05-24 06:34:49 +0000
commitf8ded973b8086d88ec91dfcafbd779a6202047d1 (patch)
tree68be5f1aa4fab0f02e8368166380af6e07cb9822 /X11/Xlibint.h
parent941e7f505285f0b77f232f700561c752ce75ff97 (diff)
downloadvcxsrv-f8ded973b8086d88ec91dfcafbd779a6202047d1.tar.gz
vcxsrv-f8ded973b8086d88ec91dfcafbd779a6202047d1.tar.bz2
vcxsrv-f8ded973b8086d88ec91dfcafbd779a6202047d1.zip
Synchronised files
Diffstat (limited to 'X11/Xlibint.h')
-rw-r--r--X11/Xlibint.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/X11/Xlibint.h b/X11/Xlibint.h
index 39ca4da03..a55938b5b 100644
--- a/X11/Xlibint.h
+++ b/X11/Xlibint.h
@@ -572,6 +572,7 @@ extern LockInfoPtr _Xglobal_lock;
#endif
#endif
+#ifndef __clang_analyzer__
#define SetReqLen(req,n,badlen) \
if ((req->length + n) > (unsigned)65535) { \
if (dpy->bigreq_size) { \
@@ -582,6 +583,10 @@ extern LockInfoPtr _Xglobal_lock;
} \
} else \
req->length += n
+#else
+#define SetReqLen(req,n,badlen) \
+ req->length += n
+#endif
#define SyncHandle() \
if (dpy->synchandler) (*dpy->synchandler)(dpy)
@@ -787,7 +792,7 @@ typedef int (*FreeModmapType) (
*/
typedef struct _XFreeFuncs {
FreeFuncType atoms; /* _XFreeAtomTable */
- FreeModmapType modifiermap; /* XFreeModifierMap */
+ FreeModmapType modifiermap; /* XFreeModifiermap */
FreeFuncType key_bindings; /* _XFreeKeyBindings */
FreeFuncType context_db; /* _XFreeContextDB */
FreeFuncType defaultCCCs; /* _XcmsFreeDefaultCCCs */