Commit 268d966d authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarTom Rini <trini@ti.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent f32c08da
...@@ -31,7 +31,7 @@ DECLARE_GLOBAL_DATA_PTR; ...@@ -31,7 +31,7 @@ DECLARE_GLOBAL_DATA_PTR;
/* /*
* Look up a callback function pointer by name * 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; struct env_clbk_tbl *clbkp;
int i; int i;
......
...@@ -67,7 +67,6 @@ struct env_clbk_tbl { ...@@ -67,7 +67,6 @@ struct env_clbk_tbl {
int flags); int flags);
}; };
struct env_clbk_tbl *find_env_callback(const char *);
void env_callback_init(ENTRY *var_entry); void env_callback_init(ENTRY *var_entry);
/* /*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment