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 <s...@chromium.org> --- 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 <linux/types.h> + +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.43.0