summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Joost <mehl@michael-joost.de>2013-11-18 16:11:26 +0100
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-22 23:16:10 -0800
commit2222b0fbff96b9f0324bb1e2f56416c84be23c3b (patch)
tree4f4196685925f9242795fa2a8304e82e0594bcd8 /src
parent61236e831f8cc0761b26b49e37a4df9c187aa0ba (diff)
downloadxorg-lib-libXrender-2222b0fbff96b9f0324bb1e2f56416c84be23c3b.tar.gz
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>
Diffstat (limited to 'src')
-rw-r--r--src/Xrenderint.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Xrenderint.h b/src/Xrenderint.h
index daaa6fe..57b13da 100644
--- a/src/Xrenderint.h
+++ b/src/Xrenderint.h
@@ -109,18 +109,4 @@ XRenderFindDisplay (Display *dpy);
#define DataInt32(dpy,d,len) Data(dpy,(char *) (d),len)
#endif
-#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 /* _XRENDERINT_H_ */