summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Joost <mehl@michael-joost.de>2013-11-23 09:51:57 -0800
committerPeter Hutterer <peter.hutterer@who-t.net>2013-11-25 10:18:55 +1000
commit288f3362133a36e2c370eb34caf6b5ed6c0764ca (patch)
treed7fc5a3d3ac2fa562dbb11bdc5946ca846599c82 /src
parentc4b261d230a8ed7c04a140f65d40af86ea73f2fa (diff)
Remove fallback for _XEatDataWords, require libX11 1.6 for it
_XEatDataWords was orignally introduced with the May 2013 security patches, and in order to ease the process of delivering those, fallback versions of _XEatDataWords were included in the X extension library patches so they could be applied to older versions that didn't have libX11 1.6 yet. Now that we're past that hurdle, we can drop the fallbacks and just require libX11 1.6 for building new versions of the extension libraries. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/XIint.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/XIint.h b/src/XIint.h
index 3ddc3c5..99f3652 100644
--- a/src/XIint.h
+++ b/src/XIint.h
@@ -83,18 +83,5 @@ next_block(void **ptr, int size) {
return ret;
}
-#ifndef HAVE__XEATDATAWORDS
-#include <X11/Xmd.h> /* for LONG64 on 64-bit platforms */
-#include <limits.h>
-
-static inline void _XEatDataWords(Display *dpy, unsigned long n)
-{
-# ifndef LONG64
- if (n >= (ULONG_MAX >> 2))
- _XIOError(dpy);
-# endif
- _XEatData (dpy, n << 2);
-}
-#endif
#endif