Remove pointless compiler.h
This commit is contained in:
parent
86efc98a5e
commit
563a932659
5 changed files with 20 additions and 27 deletions
|
@ -6,7 +6,6 @@
|
|||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#include "compiler.h"
|
||||
#include "drm.h"
|
||||
|
||||
// From libdrm
|
||||
|
@ -15,6 +14,8 @@
|
|||
#define DRM_IOCTL_SET_MASTER DRM_IO(0x1e)
|
||||
#define DRM_IOCTL_DROP_MASTER DRM_IO(0x1f)
|
||||
|
||||
#define STRLEN(s) ((sizeof(s) / sizeof(s[0])) - 1)
|
||||
|
||||
int drm_set_master(int fd) {
|
||||
return ioctl(fd, DRM_IOCTL_SET_MASTER, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue