From 78d267a0e0013d89a756cffe0e1dccb71945a0a4 Mon Sep 17 00:00:00 2001 From: Michael Joost Date: Mon, 18 Nov 2013 16:11:26 +0100 Subject: 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 Signed-off-by: Alan Coopersmith --- src/dmx.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src') diff --git a/src/dmx.c b/src/dmx.c index d097062..5ef0ed4 100644 --- a/src/dmx.c +++ b/src/dmx.c @@ -86,19 +86,6 @@ static XEXT_GENERATE_FIND_DISPLAY(find_display, dmx_extension_info, static XEXT_GENERATE_CLOSE_DISPLAY(close_display, dmx_extension_info) -#ifndef HAVE__XEATDATAWORDS -#include /* for LONG64 on 64-bit platforms */ - -static inline void _XEatDataWords(Display *dpy, unsigned long n) -{ -# ifndef LONG64 - if (n >= (ULONG_MAX >> 2)) - _XIOError(dpy); -# endif - _XEatData (dpy, n << 2); -} -#endif - /***************************************************************************** * * -- cgit v1.2.3