0001-Revert-Drop-some-leftover-deprecated-constants.patch 1.0 KB

123456789101112131415161718192021222324252627282930
  1. From 9ee61912a356bb8c1995cf262428196e5e4f179d Mon Sep 17 00:00:00 2001
  2. From: Peter Hutterer <peter.hutterer@who-t.net>
  3. Date: Fri, 3 Jan 2014 08:30:04 +1000
  4. Subject: [PATCH libevdev] Revert "Drop some leftover deprecated constants."
  5. This reverts commit a612ee753e8c40d2d1fff6da516d278064e27d86.
  6. ---
  7. libevdev/libevdev.c | 6 ++++++
  8. 1 file changed, 6 insertions(+)
  9. diff --git a/libevdev/libevdev.c b/libevdev/libevdev.c
  10. index 8a37204..432aeff 100644
  11. --- a/libevdev/libevdev.c
  12. +++ b/libevdev/libevdev.c
  13. @@ -36,6 +36,12 @@
  14. #define MAXEVENTS 64
  15. +/* DEPRECATED */
  16. +LIBEVDEV_EXPORT const enum libevdev_read_flag LIBEVDEV_READ_SYNC = LIBEVDEV_READ_FLAG_SYNC;
  17. +LIBEVDEV_EXPORT const enum libevdev_read_flag LIBEVDEV_READ_NORMAL = LIBEVDEV_READ_FLAG_NORMAL;
  18. +LIBEVDEV_EXPORT const enum libevdev_read_flag LIBEVDEV_FORCE_SYNC = LIBEVDEV_READ_FLAG_FORCE_SYNC;
  19. +LIBEVDEV_EXPORT const enum libevdev_read_flag LIBEVDEV_READ_BLOCKING = LIBEVDEV_READ_FLAG_BLOCKING;
  20. +
  21. static int sync_mt_state(struct libevdev *dev, int create_events);
  22. static int
  23. --
  24. 1.8.4.2