patch-src_XRecord_c 625 B

1234567891011121314151617181920
  1. --- libXtst-1.2.2.orig/src/XRecord.c 2013-05-31 04:09:49.000000000 +0200
  2. +++ libXtst-1.2.2/src/XRecord.c 2015-12-31 09:10:38.348187290 +0100
  3. @@ -61,17 +61,6 @@ from The Open Group.
  4. #include <X11/extensions/record.h>
  5. #include <limits.h>
  6. -#ifndef HAVE__XEATDATAWORDS
  7. -static inline void _XEatDataWords(Display *dpy, unsigned long n)
  8. -{
  9. -# ifndef LONG64
  10. - if (n >= (ULONG_MAX >> 2))
  11. - _XIOError(dpy);
  12. -# endif
  13. - _XEatData (dpy, n << 2);
  14. -}
  15. -#endif
  16. -
  17. static XExtensionInfo _xrecord_info_data;
  18. static XExtensionInfo *xrecord_info = &_xrecord_info_data;
  19. static const char *xrecord_extension_name = RECORD_NAME;