summaryrefslogtreecommitdiff
path: root/package/libXinerama/patches/patch-src_Xinerama_c
blob: aff679c837b39e60b56f2348593748f9b1ac740c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- libXinerama-1.1.3.orig/src/Xinerama.c	2013-05-31 02:28:02.000000000 +0200
+++ libXinerama-1.1.3/src/Xinerama.c	2015-12-31 09:00:56.434764883 +0100
@@ -35,20 +35,6 @@ Equipment Corporation.
 #include <X11/extensions/panoramiXproto.h>
 #include <X11/extensions/Xinerama.h>
 
-#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
-
 static XExtensionInfo _panoramiX_ext_info_data;
 static XExtensionInfo *panoramiX_ext_info = &_panoramiX_ext_info_data;
 static const char *panoramiX_extension_name = PANORAMIX_PROTOCOL_NAME;