]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
expo: Add forward declarations to scene_internal.h
authorSimon Glass <sjg@chromium.org>
Fri, 2 May 2025 14:46:49 +0000 (08:46 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 30 May 2025 08:49:32 +0000 (09:49 +0100)
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 <sjg@chromium.org>
boot/scene_internal.h

index 760cc629b8609decbaf2d96de3cc0aea1b74d0ed..95927472875624fa0e8e6d4e04bfc23db7f2566f 100644 (file)
@@ -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);
 
 /**