summaryrefslogtreecommitdiff
path: root/common/env_callback.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-03-12 06:16:50 +0000
committerTom Rini <trini@ti.com>2013-03-27 15:30:11 -0400
commit268d966dff75c6eaf49da21cf5f42b2700f81c50 (patch)
tree188e4f26fcef9e887abe80c4a2337ad5e6ed98df /common/env_callback.c
parentf32c08da82eed03d2d1a00f141f531db58330f93 (diff)
downloadu-boot-imx-268d966dff75c6eaf49da21cf5f42b2700f81c50.zip
u-boot-imx-268d966dff75c6eaf49da21cf5f42b2700f81c50.tar.gz
u-boot-imx-268d966dff75c6eaf49da21cf5f42b2700f81c50.tar.bz2
env_callback: Mark find_env_callback as static
This is not called outside of env_callback.c so mark static, remove from <env_callback.h> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Tom Rini <trini@ti.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/env_callback.c')
-rw-r--r--common/env_callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_callback.c b/common/env_callback.c
index 78ca367..78aafb4 100644
--- a/common/env_callback.c
+++ b/common/env_callback.c
@@ -31,7 +31,7 @@ DECLARE_GLOBAL_DATA_PTR;
/*
* Look up a callback function pointer by name
*/
-struct env_clbk_tbl *find_env_callback(const char *name)
+static struct env_clbk_tbl *find_env_callback(const char *name)
{
struct env_clbk_tbl *clbkp;
int i;