Remove pointless compiler.h

This commit is contained in:
Kenny Levinsen 2020-08-05 23:20:50 +02:00
parent 86efc98a5e
commit 563a932659
5 changed files with 20 additions and 27 deletions

View file

@ -13,9 +13,10 @@
#error Unsupported platform
#endif
#include "compiler.h"
#include "evdev.h"
#define STRLEN(s) ((sizeof(s) / sizeof(s[0])) - 1)
int path_is_evdev(const char *path) {
static const char prefix[] = "/dev/input/event";
static const size_t prefixlen = STRLEN(prefix);