From: Tom Rini Date: Tue, 12 Mar 2013 06:16:50 +0000 (+0000) Subject: env_callback: Mark find_env_callback as static X-Git-Tag: v2013.04-rc2~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=268d966dff75c6eaf49da21cf5f42b2700f81c50;p=oweals%2Fu-boot.git env_callback: Mark find_env_callback as static This is not called outside of env_callback.c so mark static, remove from Cc: Joe Hershberger Signed-off-by: Tom Rini Acked-by: Joe Hershberger --- diff --git a/common/env_callback.c b/common/env_callback.c index 78ca3674f0..78aafb4f2c 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; diff --git a/include/env_callback.h b/include/env_callback.h index e89b6dadc9..b856000654 100644 --- a/include/env_callback.h +++ b/include/env_callback.h @@ -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); /*