From 86acc21d854cbd881d1612c6b8528de0a577b91e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 2 May 2025 08:46:49 -0600 Subject: [PATCH] expo: Add forward declarations to scene_internal.h Provide some forward declarations for types used in this file, to keep the LSP happy and avoid errors if the caller happens not to include the required header. Signed-off-by: Simon Glass --- boot/scene_internal.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/boot/scene_internal.h b/boot/scene_internal.h index 760cc629b86..95927472875 100644 --- a/boot/scene_internal.h +++ b/boot/scene_internal.h @@ -9,8 +9,21 @@ #ifndef __SCENE_INTERNAL_H #define __SCENE_INTERNAL_H +#include + +struct expo; +struct expo_action; +struct expo_arrange_info; +struct expo_theme; +struct scene_obj; +struct scene_obj_menu; +struct scene_obj_textline; +struct scene_obj_txtedit; +struct scene_txt_generic; struct vidconsole_bbox; +enum scene_obj_t; + typedef int (*expo_scene_obj_iterator)(struct scene_obj *obj, void *priv); /** -- 2.47.2