From fa09ad5a61651b89d62d5b8ee71eaf4585d20baa Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 27 Jan 2026 15:42:56 +0100 Subject: [PATCH] xfree86: ddc: move struct cea_ext_body into interpret_edid.c It's only used there, so no need to keep it in public header. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/ddc/edid.h | 8 -------- hw/xfree86/ddc/interpret_edid.c | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h index 6dcc47b350..11f7130716 100644 --- a/hw/xfree86/ddc/edid.h +++ b/hw/xfree86/ddc/edid.h @@ -606,12 +606,4 @@ struct cea_data_block { } u; }; -struct cea_ext_body { - uint8_t tag; - uint8_t rev; - uint8_t dt_offset; - uint8_t flags; - struct cea_data_block data_collection; -}; - #endif /* _EDID_H_ */ diff --git a/hw/xfree86/ddc/interpret_edid.c b/hw/xfree86/ddc/interpret_edid.c index aa28b7c4e0..2e99a3fefd 100644 --- a/hw/xfree86/ddc/interpret_edid.c +++ b/hw/xfree86/ddc/interpret_edid.c @@ -37,6 +37,14 @@ #define _PARSE_EDID_ #include "xf86DDC_priv.h" +struct cea_ext_body { + uint8_t tag; + uint8_t rev; + uint8_t dt_offset; + uint8_t flags; + struct cea_data_block data_collection; +}; + static void get_vendor_section(uint8_t *, struct vendor *); static void get_version_section(uint8_t *, struct edid_version *); static void get_display_section(uint8_t *, struct disp_features *,