From 7c59856e8bc2bb72fc99e5adf70f17166f678431 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 27 Jan 2026 17:35:39 +0100 Subject: [PATCH] xfree86: ddc: move DISP_* defines into print_edid.c Only used in one source file, so no need to keep them in global header. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/ddc/edid.h | 9 --------- hw/xfree86/ddc/print_edid.c | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h index 5a5efa8664..f9bb6f9a28 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -313,15 +313,6 @@ #define DPMS_SUSPEND(x) (x & 0x02) #define DPMS_OFF(x) (x & 0x01) -/* display type, analog */ -#define DISP_MONO 0 -#define DISP_RGB 1 -#define DISP_MULTCOLOR 2 - -/* display color encodings, digital */ -#define DISP_YCRCB444 0x01 -#define DISP_YCRCB422 0x02 - /* Msc stuff EDID Ver > 1.1 */ #define STD_COLOR_SPACE(x) (x & 0x4) #define PREFERRED_TIMING_MODE(x) (x & 0x2) diff --git a/hw/xfree86/ddc/print_edid.c b/hw/xfree86/ddc/print_edid.c index ea63587788..20806558b9 100644 --- a/hw/xfree86/ddc/print_edid.c +++ b/hw/xfree86/ddc/print_edid.c @@ -37,6 +37,15 @@ #include "xf86DDC_priv.h" #include "edid.h" +/* display type, analog */ +#define DISP_MONO 0 +#define DISP_RGB 1 +#define DISP_MULTCOLOR 2 + +/* display color encodings, digital */ +#define DISP_YCRCB444 0x01 +#define DISP_YCRCB422 0x02 + #define EDID_WIDTH 16 static void