summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-27 18:01:12 -0700
committerRosen Penev <rosenp@gmail.com>2020-08-27 00:29:54 -0700
commita40e014eca8e27aecc1fd9e10440444687c0a3e9 (patch)
treef339a6f0edc2568ce4f5ebe35975f3758b26e727 /tools
parentcd8bde522f4f525bf32e62385b51059d03043ead (diff)
downloadlibevdev-a40e014eca8e27aecc1fd9e10440444687c0a3e9.tar.gz
libevdev: sort includes alphabetically
Found with clang-tidy's llvm-include-order Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/libevdev-events.c10
-rw-r--r--tools/libevdev-tweak-device.c12
-rw-r--r--tools/mouse-dpi-tool.c3
-rw-r--r--tools/touchpad-edge-detector.c3
4 files changed, 15 insertions, 13 deletions
diff --git a/tools/libevdev-events.c b/tools/libevdev-events.c
index 547513e..215407e 100644
--- a/tools/libevdev-events.c
+++ b/tools/libevdev-events.c
@@ -22,14 +22,14 @@
#include "config.h"
-#include <stdio.h>
-#include <string.h>
+#include <assert.h>
#include <errno.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
-#include <assert.h>
#include <linux/input.h>
+#include <stdio.h>
+#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#include "libevdev/libevdev.h"
diff --git a/tools/libevdev-tweak-device.c b/tools/libevdev-tweak-device.c
index 391c5f9..15570c2 100644
--- a/tools/libevdev-tweak-device.c
+++ b/tools/libevdev-tweak-device.c
@@ -22,20 +22,20 @@
#include "config.h"
+#include <assert.h>
+#include <errno.h>
+#include <fcntl.h>
#include <getopt.h>
#include <libgen.h>
#include <limits.h>
+#include <linux/input.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
-#include <errno.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
-#include <assert.h>
-#include <linux/input.h>
+#include <sys/types.h>
+#include <unistd.h>
#include "libevdev/libevdev.h"
diff --git a/tools/mouse-dpi-tool.c b/tools/mouse-dpi-tool.c
index 55e84f2..30f67b8 100644
--- a/tools/mouse-dpi-tool.c
+++ b/tools/mouse-dpi-tool.c
@@ -30,9 +30,10 @@
#include <poll.h>
#include <signal.h>
#include <stdint.h>
-#include <stdlib.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
+#include <sys/signalfd.h>
#include <unistd.h>
#include "libevdev/libevdev.h"
diff --git a/tools/touchpad-edge-detector.c b/tools/touchpad-edge-detector.c
index 1fc5489..9c64bc7 100644
--- a/tools/touchpad-edge-detector.c
+++ b/tools/touchpad-edge-detector.c
@@ -31,9 +31,10 @@
#include <poll.h>
#include <signal.h>
#include <stdint.h>
-#include <stdlib.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
+#include <sys/signalfd.h>
#include <unistd.h>
#include "libevdev/libevdev.h"