diff options
author | Kenny Levinsen <kl@kl.wtf> | 2022-03-29 10:46:09 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2022-03-29 10:54:27 +0200 |
commit | 8f8c9558e6279060f3ccc3363cb3558ffc9efd84 (patch) | |
tree | 3d402edeb726cb9dfab894cc0b27bc3283e9fb09 /include/drm.h | |
parent | 0462e9331d1648171bd47e62a2808f0a4d647239 (diff) |
drm: Make dev_is_drm local to logind backend
This function is only used for logind, which is Linux-specific, but the
presence in common/drm.c suggested that it had to be portable.
Move it to the logind backend for now.
Diffstat (limited to 'include/drm.h')
-rw-r--r-- | include/drm.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/drm.h b/include/drm.h index c8c3eeb..a8a5461 100644 --- a/include/drm.h +++ b/include/drm.h @@ -5,9 +5,4 @@ int drm_set_master(int fd); int drm_drop_master(int fd); int path_is_drm(const char *path); -#if defined(__linux__) || defined(__NetBSD__) -#include <sys/types.h> -int dev_is_drm(dev_t device); -#endif - #endif |