Remove pointless compiler.h
This commit is contained in:
parent
86efc98a5e
commit
563a932659
5 changed files with 20 additions and 27 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue