From d1c547d2ebd69e6f592b0b2babae8da9c9f37ca7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 26 Feb 2025 15:20:49 +0100 Subject: [PATCH] xfree86: drop unused imports of colormapst.h Drop a several includes of colormapst where we don't actually need something from that file. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86VGAarbiterPriv.h | 1 - hw/xfree86/common/xf86cmap.h | 1 - hw/xfree86/dri/dri.c | 1 - hw/xfree86/dri/xf86dri.c | 1 - hw/xfree86/fbdevhw/fbdevhw.h | 1 - hw/xfree86/vgahw/vgaHW.h | 1 - 6 files changed, 6 deletions(-) diff --git a/hw/xfree86/common/xf86VGAarbiterPriv.h b/hw/xfree86/common/xf86VGAarbiterPriv.h index 573afd8d9..e4ca3450c 100644 --- a/hw/xfree86/common/xf86VGAarbiterPriv.h +++ b/hw/xfree86/common/xf86VGAarbiterPriv.h @@ -32,7 +32,6 @@ #include "xf86.h" #include "xf86_OSproc.h" #include -#include "colormapst.h" #include "scrnintstr.h" #include "screenint.h" #include "gcstruct.h" diff --git a/hw/xfree86/common/xf86cmap.h b/hw/xfree86/common/xf86cmap.h index 2661cf429..8d4364ca3 100644 --- a/hw/xfree86/common/xf86cmap.h +++ b/hw/xfree86/common/xf86cmap.h @@ -30,7 +30,6 @@ #define _XF86CMAP_H #include "xf86str.h" -#include "colormapst.h" #define CMAP_PALETTED_TRUECOLOR 0x0000001 #define CMAP_RELOAD_ON_MODE_SWITCH 0x0000002 diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index 33e31f848..483b42a64 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -56,7 +56,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "dixstruct.h" #include "extnsionst.h" #include "extinit.h" -#include "colormapst.h" #include "cursorstr.h" #include "scrnintstr.h" #include "windowstr.h" diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c index ffe7008a3..de4206d18 100644 --- a/hw/xfree86/dri/xf86dri.c +++ b/hw/xfree86/dri/xf86dri.c @@ -49,7 +49,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "dixstruct.h" #include "extnsionst.h" #include "extinit.h" -#include "colormapst.h" #include "cursorstr.h" #include "scrnintstr.h" #include "servermd.h" diff --git a/hw/xfree86/fbdevhw/fbdevhw.h b/hw/xfree86/fbdevhw/fbdevhw.h index 72f834fbf..44eb9dd1e 100644 --- a/hw/xfree86/fbdevhw/fbdevhw.h +++ b/hw/xfree86/fbdevhw/fbdevhw.h @@ -3,7 +3,6 @@ #define _FBDEVHW_H_ #include "xf86str.h" -#include "colormapst.h" #define FBDEVHW_PACKED_PIXELS 0 /* Packed Pixels */ #define FBDEVHW_INTERLEAVED_PLANES 2 /* Interleaved planes */ diff --git a/hw/xfree86/vgahw/vgaHW.h b/hw/xfree86/vgahw/vgaHW.h index a7d7a500a..e34ad629a 100644 --- a/hw/xfree86/vgahw/vgaHW.h +++ b/hw/xfree86/vgahw/vgaHW.h @@ -16,7 +16,6 @@ #include "misc.h" #include "input.h" #include "scrnintstr.h" -#include "colormapst.h" #include "xf86str.h" #include "xf86Pci.h"