From: Wolfgang Denk <wd@denx.de>
Date: Fri, 18 Apr 2008 18:44:27 +0000 (-0700)
Subject: Fix build breakage casued by commit c0559be371b2
X-Git-Tag: v2025.01-rc5-pxa1908~22248
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=1e01477aeaf409ddb97e2633aab9cf8c9c60612e;p=u-boot.git

Fix build breakage casued by commit c0559be371b2

    Change env_get_char from a global function ptr to a function.

Signed-off-by: Wolfgang Denk <wd@denx.de>
---

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 3a0c83d2d8..ae9c21bda7 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -100,7 +100,6 @@ int do_bootvx (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 int do_bootelf (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 #endif
 #if defined(CONFIG_ARTOS) && defined(CONFIG_PPC)
-extern uchar (*env_get_char)(int); /* Returns a character from the environment */
 static boot_os_fn do_bootm_artos;
 #endif