From 9192c0480a9bfb5603ea6b7891829a3140acc6fe Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 7 Jan 2021 00:11:48 -0500 Subject: remove unnecessary egl includes --- backend/drm/backend.c | 1 - backend/drm/renderer.c | 1 - backend/headless/backend.c | 1 - backend/wayland/backend.c | 1 - backend/x11/backend.c | 1 - include/backend/drm/drm.h | 2 -- include/backend/drm/renderer.h | 1 - include/backend/wayland.h | 1 - include/backend/x11.h | 1 - include/wlr/backend.h | 1 - include/wlr/backend/interface.h | 1 - include/wlr/render/interface.h | 12 ------------ 12 files changed, 24 deletions(-) diff --git a/backend/drm/backend.c b/backend/drm/backend.c index cc48aa54..68087f63 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index fd5d637d..4370aa77 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/backend/headless/backend.c b/backend/headless/backend.c index 963773a5..b8c801fb 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c index 1e2d2d72..7d7eeaf5 100644 --- a/backend/wayland/backend.c +++ b/backend/wayland/backend.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include diff --git a/backend/x11/backend.c b/backend/x11/backend.c index e8908e5b..1fde98c6 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index c3391dcf..3759ea35 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -1,7 +1,6 @@ #ifndef BACKEND_DRM_DRM_H #define BACKEND_DRM_DRM_H -#include #include #include #include @@ -12,7 +11,6 @@ #include #include #include -#include #include #include "iface.h" #include "properties.h" diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index e422ac4b..d30d4150 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -1,7 +1,6 @@ #ifndef BACKEND_DRM_RENDERER_H #define BACKEND_DRM_RENDERER_H -#include #include #include #include diff --git a/include/backend/wayland.h b/include/backend/wayland.h index dc9670f5..e0e8ee37 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -7,7 +7,6 @@ #include #include -#include #include #include #include diff --git a/include/backend/x11.h b/include/backend/x11.h index db6e5870..44f3693b 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -21,7 +21,6 @@ #include #include #include -#include #include #define XCB_EVENT_RESPONSE_TYPE_MASK 0x7f diff --git a/include/wlr/backend.h b/include/wlr/backend.h index edccc665..2b869f28 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -11,7 +11,6 @@ #include #include -#include struct wlr_backend_impl; diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h index 4a6a5cbb..8782ae0b 100644 --- a/include/wlr/backend/interface.h +++ b/include/wlr/backend/interface.h @@ -12,7 +12,6 @@ #include #include #include -#include struct wlr_backend_impl { bool (*start)(struct wlr_backend *backend); diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 3ce91d32..feca44e1 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -9,18 +9,6 @@ #ifndef WLR_RENDER_INTERFACE_H #define WLR_RENDER_INTERFACE_H -#ifndef MESA_EGL_NO_X11_HEADERS -#define MESA_EGL_NO_X11_HEADERS -#endif -#ifndef EGL_NO_X11 -#define EGL_NO_X11 -#endif -#ifndef EGL_NO_PLATFORM_SPECIFIC_TYPES -#define EGL_NO_PLATFORM_SPECIFIC_TYPES -#endif - -#include -#include #include #include #include -- cgit v1.2.3