From: Wolfgang Denk Date: Fri, 18 Apr 2008 18:44:27 +0000 (-0700) Subject: Fix build breakage casued by commit c0559be371b2 X-Git-Tag: v1.3.3-rc1~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1e01477aeaf409ddb97e2633aab9cf8c9c60612e;p=u-boot Fix build breakage casued by commit c0559be371b2 Change env_get_char from a global function ptr to a function. Signed-off-by: Wolfgang Denk --- 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