From 5f7042a1f22247b478b6225c3e1356c72cdd72ba Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Sun, 6 Aug 2017 21:49:04 +1200 Subject: [PATCH] Moved headers --- backend/drm/backend.c | 4 ++-- backend/drm/drm-properties.c | 2 +- backend/drm/drm-util.c | 2 +- backend/drm/drm.c | 4 ++-- {backend/drm => include/backend}/drm-properties.h | 0 {backend/drm => include/backend}/drm-util.h | 0 {backend/drm => include/backend}/drm.h | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename {backend/drm => include/backend}/drm-properties.h (100%) rename {backend/drm => include/backend}/drm-util.h (100%) rename {backend/drm => include/backend}/drm.h (100%) diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 0a378477..68eae890 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -12,8 +12,8 @@ #include #include #include -#include -#include "drm.h" +#include "backend/udev.h" +#include "backend/drm.h" static bool wlr_drm_backend_init(struct wlr_backend_state *drm) { wlr_drm_scan_connectors(drm); diff --git a/backend/drm/drm-properties.c b/backend/drm/drm-properties.c index 391ae38c..1b6e745f 100644 --- a/backend/drm/drm-properties.c +++ b/backend/drm/drm-properties.c @@ -5,7 +5,7 @@ #include #include #include -#include "drm-properties.h" +#include "backend/drm-properties.h" /* * Creates a mapping between property names and an array index where to store diff --git a/backend/drm/drm-util.c b/backend/drm/drm-util.c index 68f35fe0..6159b5de 100644 --- a/backend/drm/drm-util.c +++ b/backend/drm/drm-util.c @@ -2,7 +2,7 @@ #include #include #include -#include "drm-util.h" +#include "backend/drm-util.h" int32_t calculate_refresh_rate(drmModeModeInfo *mode) { int32_t refresh = (mode->clock * 1000000LL / mode->htotal + diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 67a48dda..d739edad 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -18,8 +18,8 @@ #include #include #include -#include "drm.h" -#include "drm-util.h" +#include "backend/drm.h" +#include "backend/drm-util.h" bool wlr_drm_check_features(struct wlr_backend_state *drm) { if (drmSetClientCap(drm->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1)) { diff --git a/backend/drm/drm-properties.h b/include/backend/drm-properties.h similarity index 100% rename from backend/drm/drm-properties.h rename to include/backend/drm-properties.h diff --git a/backend/drm/drm-util.h b/include/backend/drm-util.h similarity index 100% rename from backend/drm/drm-util.h rename to include/backend/drm-util.h diff --git a/backend/drm/drm.h b/include/backend/drm.h similarity index 100% rename from backend/drm/drm.h rename to include/backend/drm.h