]> git.sur5r.net Git - u-boot/commitdiff
env_callback: Mark find_env_callback as static
authorTom Rini <trini@ti.com>
Tue, 12 Mar 2013 06:16:50 +0000 (06:16 +0000)
committerTom Rini <trini@ti.com>
Wed, 27 Mar 2013 19:30:11 +0000 (15:30 -0400)
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>
common/env_callback.c
include/env_callback.h

index 78ca3674f09a85d5834bae0e2bb4d3a1427b07d3..78aafb4f2c224ad6fa4665424f36bd158b7d67bb 100644 (file)
@@ -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;
index e89b6dadc9421f9bf9dc8435795f99d588283a1f..b8560006540041e43d36928f470e08f341dc0846 100644 (file)
@@ -67,7 +67,6 @@ struct env_clbk_tbl {
                int flags);
 };
 
-struct env_clbk_tbl *find_env_callback(const char *);
 void env_callback_init(ENTRY *var_entry);
 
 /*