bootm: mark local boot_os[] table static
authorMike Frysinger <vapier@gentoo.org>
Tue, 3 Nov 2009 16:36:26 +0000 (11:36 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 24 Nov 2009 22:40:03 +0000 (23:40 +0100)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_bootm.c

index 32fd9bb3f3cdcaa2f9eca34f8803418850c7767e..401bf27d15de35d54841ab2813e4f98d4b4f5fe9 100644 (file)
@@ -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