summaryrefslogtreecommitdiff
path: root/src/XpExtUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/XpExtUtil.h')
-rw-r--r--src/XpExtUtil.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/XpExtUtil.h b/src/XpExtUtil.h
index 1889825..d479a95 100644
--- a/src/XpExtUtil.h
+++ b/src/XpExtUtil.h
@@ -48,20 +48,6 @@ extern char *_xpstrdup(
const char * /* str */
);
-#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
-
_XFUNCPROTOEND
#endif /* _XPEXTUTIL_H */