--- libXtst-1.2.2.orig/src/XRecord.c 2013-05-31 04:09:49.000000000 +0200 +++ libXtst-1.2.2/src/XRecord.c 2015-12-31 09:10:38.348187290 +0100 @@ -61,17 +61,6 @@ from The Open Group. #include #include -#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 _xrecord_info_data; static XExtensionInfo *xrecord_info = &_xrecord_info_data; static const char *xrecord_extension_name = RECORD_NAME;