[U-Boot] [PATCH 1/1] bootm: mark local boot_os[] table static

Mike Frysinger vapier at gentoo.org
Tue Nov 3 17:36:26 CET 2009


Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 common/cmd_bootm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 22aa7f8..a4b2e26 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -129,7 +129,7 @@ int do_bootelf (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 static boot_os_fn do_bootm_integrity;
 #endif
 
-boot_os_fn * boot_os[] = {
+static boot_os_fn *boot_os[] = {
 #ifdef CONFIG_BOOTM_LINUX
 	[IH_OS_LINUX] = do_bootm_linux,
 #endif
-- 
1.6.5.2



More information about the U-Boot mailing list