summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-05 21:19:29 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-05 21:19:29 -0700
commit4a7d2ca2438649e61b7dcb9491391ff6fbd482ac (patch)
tree7d9e4b02ed9a45f7acbff408d51ecb3c00c97445 /src
parent06d275959b5dd78c319d5200ca6d986934b18920 (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. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/Xv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Xv.c b/src/Xv.c
index d3e3373..e47093a 100644
--- a/src/Xv.c
+++ b/src/Xv.c
@@ -60,18 +60,6 @@ SOFTWARE.
#include <X11/extensions/XShm.h>
#include <limits.h>
-#ifndef HAVE__XEATDATAWORDS
-static inline void
-_XEatDataWords(Display *dpy, unsigned long n)
-{
-# ifndef LONG64
- if (n >= (ULONG_MAX >> 2))
- _XIOError(dpy);
-# endif
- _XEatData(dpy, n << 2);
-}
-#endif
-
static XExtensionInfo _xv_info_data;
static XExtensionInfo *xv_info = &_xv_info_data;
static const char *xv_extension_name = XvName;