summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-09 23:06:15 +0100
committerWolfgang Denk <wd@denx.de>2008-01-09 23:06:15 +0100
commitecc198c9b9522aa766235b7780f8ef7e01d0d0e2 (patch)
tree66c8d0f5456decaa19ba8ba61df2c100a4b0efc5 /common
parentcc557950f742fe18003638963e267d52036159ce (diff)
parent500856eb1707ed17d9204baa61dd59948d3b2899 (diff)
downloadu-boot-imx-ecc198c9b9522aa766235b7780f8ef7e01d0d0e2.zip
u-boot-imx-ecc198c9b9522aa766235b7780f8ef7e01d0d0e2.tar.gz
u-boot-imx-ecc198c9b9522aa766235b7780f8ef7e01d0d0e2.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-freebsd
Diffstat (limited to 'common')
-rw-r--r--common/cmd_nvedit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 6770408..dd263b6 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -81,8 +81,6 @@ extern void env_crc_update (void);
/************************************************************************
************************************************************************/
-static int envmatch (uchar *, int);
-
/*
* Table with supported baudrates (defined in config_xyz.h)
*/
@@ -576,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++))