summaryrefslogtreecommitdiff
path: root/package/libXtst/patches/patch-src_XRecord_c
blob: 865673b03c11e9ce9eb418cb475d6a28851cddc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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 <X11/extensions/record.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 _xrecord_info_data;
 static XExtensionInfo *xrecord_info = &_xrecord_info_data;
 static const char *xrecord_extension_name = RECORD_NAME;