From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafal Jaworowski Date: Wed, 3 Oct 2007 12:05:29 +0200 Subject: [U-Boot-Users] [PATCH 3/7] Globalize envmatch() In-Reply-To: <20071003100126.GA1854@semihalf.com> References: <20071003100126.GA1854@semihalf.com> Message-ID: <20071003100525.GD1854@semihalf.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 1db0fc3..e539e2c 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -80,7 +80,7 @@ extern void env_crc_update (void); /************************************************************************ ************************************************************************/ -static int envmatch (uchar *, int); +int envmatch (uchar *, int); /* * Table with supported baudrates (defined in config_xyz.h) @@ -574,8 +574,7 @@ int do_saveenv (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) * If the names match, return the index for the value2, else NULL. */ -static int -envmatch (uchar *s1, int i2) +int envmatch (uchar *s1, int i2) { while (*s1 == env_get_char(i2++))