[PATCH libinput 3/4] Drop HAVE_CONFIG_H ifdef

Peter Hutterer peter.hutterer at who-t.net
Thu Dec 1 01:37:44 UTC 2016


We have one. Yay. Lucky us. Go forth and celebrate.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/evdev-mt-touchpad-tap.c                    | 2 --
 test/litest-device-alps-dualpoint.c            | 2 --
 test/litest-device-alps-semi-mt.c              | 2 --
 test/litest-device-anker-mouse-kbd.c           | 2 --
 test/litest-device-apple-internal-keyboard.c   | 2 --
 test/litest-device-apple-magicmouse.c          | 2 --
 test/litest-device-asus-rog-gladius.c          | 2 --
 test/litest-device-atmel-hover.c               | 2 --
 test/litest-device-bcm5974.c                   | 2 --
 test/litest-device-calibrated-touchscreen.c    | 2 --
 test/litest-device-cyborg-rat-5.c              | 2 --
 test/litest-device-elantech-touchpad.c         | 2 --
 test/litest-device-generic-singletouch.c       | 2 --
 test/litest-device-huion-pentablet.c           | 2 --
 test/litest-device-keyboard-all-codes.c        | 2 --
 test/litest-device-keyboard-razer-blackwidow.c | 2 --
 test/litest-device-keyboard.c                  | 2 --
 test/litest-device-logitech-trackball.c        | 2 --
 test/litest-device-magic-trackpad.c            | 2 --
 test/litest-device-mouse-low-dpi.c             | 2 --
 test/litest-device-mouse-roccat.c              | 2 --
 test/litest-device-mouse-wheel-click-angle.c   | 2 --
 test/litest-device-mouse-wheel-click-count.c   | 2 --
 test/litest-device-mouse.c                     | 2 --
 test/litest-device-ms-surface-cover.c          | 2 --
 test/litest-device-nexus4-touch-screen.c       | 2 --
 test/litest-device-protocol-a-touch-screen.c   | 2 --
 test/litest-device-qemu-usb-tablet.c           | 2 --
 test/litest-device-synaptics-hover.c           | 2 --
 test/litest-device-synaptics-i2c.c             | 2 --
 test/litest-device-synaptics-st.c              | 2 --
 test/litest-device-synaptics-t440.c            | 2 --
 test/litest-device-synaptics-x1-carbon-3rd.c   | 2 --
 test/litest-device-synaptics.c                 | 2 --
 test/litest-device-touch-screen.c              | 2 --
 test/litest-device-touchscreen-fuzz.c          | 2 --
 test/litest-device-trackpoint.c                | 2 --
 test/litest-device-vmware-virtual-usb-mouse.c  | 2 --
 test/litest-device-wacom-bamboo-tablet.c       | 2 --
 test/litest-device-wacom-cintiq-13hdt-finger.c | 2 --
 test/litest-device-wacom-cintiq-13hdt-pad.c    | 2 --
 test/litest-device-wacom-cintiq-13hdt-pen.c    | 2 --
 test/litest-device-wacom-cintiq-24hd.c         | 2 --
 test/litest-device-wacom-cintiq-24hdt-pad.c    | 2 --
 test/litest-device-wacom-cintiq-tablet.c       | 2 --
 test/litest-device-wacom-ekr.c                 | 2 --
 test/litest-device-wacom-hid4800-pen.c         | 2 --
 test/litest-device-wacom-intuos-finger.c       | 2 --
 test/litest-device-wacom-intuos-tablet.c       | 2 --
 test/litest-device-wacom-intuos3-pad.c         | 2 --
 test/litest-device-wacom-intuos5-pad.c         | 2 --
 test/litest-device-wacom-isdv4-tablet.c        | 2 --
 test/litest-device-wacom-touch.c               | 2 --
 test/litest-device-waltop-tablet.c             | 2 --
 test/litest-device-wheel-only.c                | 2 --
 test/litest-device-xen-virtual-pointer.c       | 2 --
 test/litest-device-yubikey.c                   | 2 --
 test/litest-int.h                              | 2 --
 test/litest.c                                  | 2 --
 test/litest.h                                  | 2 --
 60 files changed, 120 deletions(-)

diff --git a/src/evdev-mt-touchpad-tap.c b/src/evdev-mt-touchpad-tap.c
index 12639aa..ddda44c 100644
--- a/src/evdev-mt-touchpad-tap.c
+++ b/src/evdev-mt-touchpad-tap.c
@@ -22,9 +22,7 @@
  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <assert.h>
 #include <errno.h>
diff --git a/test/litest-device-alps-dualpoint.c b/test/litest-device-alps-dualpoint.c
index 5020427..08ba006 100644
--- a/test/litest-device-alps-dualpoint.c
+++ b/test/litest-device-alps-dualpoint.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <assert.h>
 
diff --git a/test/litest-device-alps-semi-mt.c b/test/litest-device-alps-semi-mt.c
index 720eaeb..7325a42 100644
--- a/test/litest-device-alps-semi-mt.c
+++ b/test/litest-device-alps-semi-mt.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <assert.h>
 
diff --git a/test/litest-device-anker-mouse-kbd.c b/test/litest-device-anker-mouse-kbd.c
index 5f39928..3971c77 100644
--- a/test/litest-device-anker-mouse-kbd.c
+++ b/test/litest-device-anker-mouse-kbd.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-apple-internal-keyboard.c b/test/litest-device-apple-internal-keyboard.c
index c24403d..4b500ae 100644
--- a/test/litest-device-apple-internal-keyboard.c
+++ b/test/litest-device-apple-internal-keyboard.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-apple-magicmouse.c b/test/litest-device-apple-magicmouse.c
index ce6fc78..29d3b98 100644
--- a/test/litest-device-apple-magicmouse.c
+++ b/test/litest-device-apple-magicmouse.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-asus-rog-gladius.c b/test/litest-device-asus-rog-gladius.c
index a44396f..8d4ffe5 100644
--- a/test/litest-device-asus-rog-gladius.c
+++ b/test/litest-device-asus-rog-gladius.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-atmel-hover.c b/test/litest-device-atmel-hover.c
index 1691549..c856d08 100644
--- a/test/litest-device-atmel-hover.c
+++ b/test/litest-device-atmel-hover.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <assert.h>
 
diff --git a/test/litest-device-bcm5974.c b/test/litest-device-bcm5974.c
index cbf2a74..c9780a5 100644
--- a/test/litest-device-bcm5974.c
+++ b/test/litest-device-bcm5974.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-calibrated-touchscreen.c b/test/litest-device-calibrated-touchscreen.c
index c0cb172..db62d8b 100644
--- a/test/litest-device-calibrated-touchscreen.c
+++ b/test/litest-device-calibrated-touchscreen.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-cyborg-rat-5.c b/test/litest-device-cyborg-rat-5.c
index a1db77a..e14f976 100644
--- a/test/litest-device-cyborg-rat-5.c
+++ b/test/litest-device-cyborg-rat-5.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-elantech-touchpad.c b/test/litest-device-elantech-touchpad.c
index abf58d1..9c5422c 100644
--- a/test/litest-device-elantech-touchpad.c
+++ b/test/litest-device-elantech-touchpad.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-generic-singletouch.c b/test/litest-device-generic-singletouch.c
index c34c62d..519045d 100644
--- a/test/litest-device-generic-singletouch.c
+++ b/test/litest-device-generic-singletouch.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-huion-pentablet.c b/test/litest-device-huion-pentablet.c
index e030f20..293de43 100644
--- a/test/litest-device-huion-pentablet.c
+++ b/test/litest-device-huion-pentablet.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-keyboard-all-codes.c b/test/litest-device-keyboard-all-codes.c
index fffd0a6..a3ad468 100644
--- a/test/litest-device-keyboard-all-codes.c
+++ b/test/litest-device-keyboard-all-codes.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-keyboard-razer-blackwidow.c b/test/litest-device-keyboard-razer-blackwidow.c
index 7e9823a..70b1202 100644
--- a/test/litest-device-keyboard-razer-blackwidow.c
+++ b/test/litest-device-keyboard-razer-blackwidow.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-keyboard.c b/test/litest-device-keyboard.c
index e8b9c13..07819f7 100644
--- a/test/litest-device-keyboard.c
+++ b/test/litest-device-keyboard.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-logitech-trackball.c b/test/litest-device-logitech-trackball.c
index 1a5d896..2c59f05 100644
--- a/test/litest-device-logitech-trackball.c
+++ b/test/litest-device-logitech-trackball.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-magic-trackpad.c b/test/litest-device-magic-trackpad.c
index 588d6f5..598a735 100644
--- a/test/litest-device-magic-trackpad.c
+++ b/test/litest-device-magic-trackpad.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-mouse-low-dpi.c b/test/litest-device-mouse-low-dpi.c
index dccf40f..ac22461 100644
--- a/test/litest-device-mouse-low-dpi.c
+++ b/test/litest-device-mouse-low-dpi.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-mouse-roccat.c b/test/litest-device-mouse-roccat.c
index 013374e..3b4edc8 100644
--- a/test/litest-device-mouse-roccat.c
+++ b/test/litest-device-mouse-roccat.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-mouse-wheel-click-angle.c b/test/litest-device-mouse-wheel-click-angle.c
index ccfedd7..21c4387 100644
--- a/test/litest-device-mouse-wheel-click-angle.c
+++ b/test/litest-device-mouse-wheel-click-angle.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-mouse-wheel-click-count.c b/test/litest-device-mouse-wheel-click-count.c
index 419b702..1e67594 100644
--- a/test/litest-device-mouse-wheel-click-count.c
+++ b/test/litest-device-mouse-wheel-click-count.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-mouse.c b/test/litest-device-mouse.c
index bae9863..31953f2 100644
--- a/test/litest-device-mouse.c
+++ b/test/litest-device-mouse.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-ms-surface-cover.c b/test/litest-device-ms-surface-cover.c
index fdd9681..31195d1 100644
--- a/test/litest-device-ms-surface-cover.c
+++ b/test/litest-device-ms-surface-cover.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-nexus4-touch-screen.c b/test/litest-device-nexus4-touch-screen.c
index d193005..f047762 100644
--- a/test/litest-device-nexus4-touch-screen.c
+++ b/test/litest-device-nexus4-touch-screen.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-protocol-a-touch-screen.c b/test/litest-device-protocol-a-touch-screen.c
index e3b67c4..98216ad 100644
--- a/test/litest-device-protocol-a-touch-screen.c
+++ b/test/litest-device-protocol-a-touch-screen.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-qemu-usb-tablet.c b/test/litest-device-qemu-usb-tablet.c
index b9a6523..e5e8b5a 100644
--- a/test/litest-device-qemu-usb-tablet.c
+++ b/test/litest-device-qemu-usb-tablet.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-synaptics-hover.c b/test/litest-device-synaptics-hover.c
index 2429565..6184ff6 100644
--- a/test/litest-device-synaptics-hover.c
+++ b/test/litest-device-synaptics-hover.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <assert.h>
 
diff --git a/test/litest-device-synaptics-i2c.c b/test/litest-device-synaptics-i2c.c
index be826a4..0d83caa 100644
--- a/test/litest-device-synaptics-i2c.c
+++ b/test/litest-device-synaptics-i2c.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-synaptics-st.c b/test/litest-device-synaptics-st.c
index d2bd1ae..7e45d56 100644
--- a/test/litest-device-synaptics-st.c
+++ b/test/litest-device-synaptics-st.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-synaptics-t440.c b/test/litest-device-synaptics-t440.c
index fa56185..8bbdc2b 100644
--- a/test/litest-device-synaptics-t440.c
+++ b/test/litest-device-synaptics-t440.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-synaptics-x1-carbon-3rd.c b/test/litest-device-synaptics-x1-carbon-3rd.c
index 23d9c5b..1b30a4b 100644
--- a/test/litest-device-synaptics-x1-carbon-3rd.c
+++ b/test/litest-device-synaptics-x1-carbon-3rd.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-synaptics.c b/test/litest-device-synaptics.c
index 3186a3a..9498127 100644
--- a/test/litest-device-synaptics.c
+++ b/test/litest-device-synaptics.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-touch-screen.c b/test/litest-device-touch-screen.c
index e91458a..a631884 100644
--- a/test/litest-device-touch-screen.c
+++ b/test/litest-device-touch-screen.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-touchscreen-fuzz.c b/test/litest-device-touchscreen-fuzz.c
index 6f374c5..931a5b9 100644
--- a/test/litest-device-touchscreen-fuzz.c
+++ b/test/litest-device-touchscreen-fuzz.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-trackpoint.c b/test/litest-device-trackpoint.c
index 5d72249..4ebb4f9 100644
--- a/test/litest-device-trackpoint.c
+++ b/test/litest-device-trackpoint.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-vmware-virtual-usb-mouse.c b/test/litest-device-vmware-virtual-usb-mouse.c
index c92c566..ba2be4e 100644
--- a/test/litest-device-vmware-virtual-usb-mouse.c
+++ b/test/litest-device-vmware-virtual-usb-mouse.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-bamboo-tablet.c b/test/litest-device-wacom-bamboo-tablet.c
index d1f5fc9..85589dd 100644
--- a/test/litest-device-wacom-bamboo-tablet.c
+++ b/test/litest-device-wacom-bamboo-tablet.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-cintiq-13hdt-finger.c b/test/litest-device-wacom-cintiq-13hdt-finger.c
index 9c82de0..344d0ae 100644
--- a/test/litest-device-wacom-cintiq-13hdt-finger.c
+++ b/test/litest-device-wacom-cintiq-13hdt-finger.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-cintiq-13hdt-pad.c b/test/litest-device-wacom-cintiq-13hdt-pad.c
index cc4add4..21a93fc 100644
--- a/test/litest-device-wacom-cintiq-13hdt-pad.c
+++ b/test/litest-device-wacom-cintiq-13hdt-pad.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-cintiq-13hdt-pen.c b/test/litest-device-wacom-cintiq-13hdt-pen.c
index 084d59a..04b6546 100644
--- a/test/litest-device-wacom-cintiq-13hdt-pen.c
+++ b/test/litest-device-wacom-cintiq-13hdt-pen.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-cintiq-24hd.c b/test/litest-device-wacom-cintiq-24hd.c
index 07f27f9..7df4458 100644
--- a/test/litest-device-wacom-cintiq-24hd.c
+++ b/test/litest-device-wacom-cintiq-24hd.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-cintiq-24hdt-pad.c b/test/litest-device-wacom-cintiq-24hdt-pad.c
index d20fbd5..74465c3 100644
--- a/test/litest-device-wacom-cintiq-24hdt-pad.c
+++ b/test/litest-device-wacom-cintiq-24hdt-pad.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <errno.h>
 #include <fcntl.h>
diff --git a/test/litest-device-wacom-cintiq-tablet.c b/test/litest-device-wacom-cintiq-tablet.c
index 4685668..e4f83f6 100644
--- a/test/litest-device-wacom-cintiq-tablet.c
+++ b/test/litest-device-wacom-cintiq-tablet.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-ekr.c b/test/litest-device-wacom-ekr.c
index fa73927..d16e05a 100644
--- a/test/litest-device-wacom-ekr.c
+++ b/test/litest-device-wacom-ekr.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-hid4800-pen.c b/test/litest-device-wacom-hid4800-pen.c
index b1a6071..b8ea2ea 100644
--- a/test/litest-device-wacom-hid4800-pen.c
+++ b/test/litest-device-wacom-hid4800-pen.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-intuos-finger.c b/test/litest-device-wacom-intuos-finger.c
index 8014588..5e237e4 100644
--- a/test/litest-device-wacom-intuos-finger.c
+++ b/test/litest-device-wacom-intuos-finger.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-intuos-tablet.c b/test/litest-device-wacom-intuos-tablet.c
index 00eac7a..a698fb3 100644
--- a/test/litest-device-wacom-intuos-tablet.c
+++ b/test/litest-device-wacom-intuos-tablet.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-intuos3-pad.c b/test/litest-device-wacom-intuos3-pad.c
index 0622ddc..42d80ed 100644
--- a/test/litest-device-wacom-intuos3-pad.c
+++ b/test/litest-device-wacom-intuos3-pad.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-intuos5-pad.c b/test/litest-device-wacom-intuos5-pad.c
index cacc5c7..a3f3931 100644
--- a/test/litest-device-wacom-intuos5-pad.c
+++ b/test/litest-device-wacom-intuos5-pad.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-isdv4-tablet.c b/test/litest-device-wacom-isdv4-tablet.c
index 400fb57..d2c9078 100644
--- a/test/litest-device-wacom-isdv4-tablet.c
+++ b/test/litest-device-wacom-isdv4-tablet.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wacom-touch.c b/test/litest-device-wacom-touch.c
index e7da39c..fc16c61 100644
--- a/test/litest-device-wacom-touch.c
+++ b/test/litest-device-wacom-touch.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-waltop-tablet.c b/test/litest-device-waltop-tablet.c
index 3400342..bd94ee1 100644
--- a/test/litest-device-waltop-tablet.c
+++ b/test/litest-device-waltop-tablet.c
@@ -20,9 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-wheel-only.c b/test/litest-device-wheel-only.c
index c5b9fb0..fe6ca89 100644
--- a/test/litest-device-wheel-only.c
+++ b/test/litest-device-wheel-only.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-xen-virtual-pointer.c b/test/litest-device-xen-virtual-pointer.c
index b4457c2..a4c2044 100644
--- a/test/litest-device-xen-virtual-pointer.c
+++ b/test/litest-device-xen-virtual-pointer.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-device-yubikey.c b/test/litest-device-yubikey.c
index d2c1d4c..08e47b8 100644
--- a/test/litest-device-yubikey.c
+++ b/test/litest-device-yubikey.c
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include "litest.h"
 #include "litest-int.h"
diff --git a/test/litest-int.h b/test/litest-int.h
index 1a9060d..6384e4d 100644
--- a/test/litest-int.h
+++ b/test/litest-int.h
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 #include <limits.h>
 
 #ifndef LITEST_INT_H
diff --git a/test/litest.c b/test/litest.c
index 148dd86..4f43d79 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -22,9 +22,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <check.h>
 #include <dirent.h>
diff --git a/test/litest.h b/test/litest.h
index 7728c02..ccae368 100644
--- a/test/litest.h
+++ b/test/litest.h
@@ -21,9 +21,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #ifndef LITEST_H
 #define LITEST_H
-- 
2.9.3



More information about the wayland-devel mailing list