Commit 268d966dff75c6eaf49da21cf5f42b2700f81c50

Authored by Tom Rini
1 parent f32c08da82

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>

Showing 2 changed files with 1 additions and 2 deletions Side-by-side Diff

common/env_callback.c
... ... @@ -31,7 +31,7 @@
31 31 /*
32 32 * Look up a callback function pointer by name
33 33 */
34   -struct env_clbk_tbl *find_env_callback(const char *name)
  34 +static struct env_clbk_tbl *find_env_callback(const char *name)
35 35 {
36 36 struct env_clbk_tbl *clbkp;
37 37 int i;
include/env_callback.h
... ... @@ -67,7 +67,6 @@
67 67 int flags);
68 68 };
69 69  
70   -struct env_clbk_tbl *find_env_callback(const char *);
71 70 void env_callback_init(ENTRY *var_entry);
72 71  
73 72 /*