wscons: Move to its own device type
This reduces ifdefs and avoids overloading evdev as something it is not.
This commit is contained in:
parent
684dd61945
commit
0462e9331d
7 changed files with 51 additions and 27 deletions
|
@ -4,9 +4,4 @@
|
|||
int evdev_revoke(int fd);
|
||||
int path_is_evdev(const char *path);
|
||||
|
||||
#if defined(__linux__) || defined(__NetBSD__)
|
||||
#include <sys/types.h>
|
||||
int dev_is_evdev(dev_t device);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue