aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:40 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commitaf95f2061aee57ce76e1d62a6962724cc5a849a8 (patch)
tree023ea936c7cabe544c914b0884caa789c3d85d49 /include/common.h
parent9fe657daa79fb27b5f49fb9ce32cb8f5a216ae09 (diff)
downloadu-boot-af95f2061aee57ce76e1d62a6962724cc5a849a8.zip
u-boot-af95f2061aee57ce76e1d62a6962724cc5a849a8.tar.gz
u-boot-af95f2061aee57ce76e1d62a6962724cc5a849a8.tar.bz2
env: Create a new file for environment functions
At present we have environment.h but this file includes all the environment-related header files as well as internals such as default_environment. It seems desirable to have a new header to hold the commonly used environment functions, so that most files can avoid including all of this unnecessary stuff. Create a new env.h header and move one function over to it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h
index 4d0dd3f..6b89047 100644
--- a/include/common.h
+++ b/include/common.h
@@ -247,10 +247,6 @@ static inline int env_set_addr(const char *varname, const void *addr)
return env_set_hex(varname, (ulong)addr);
}
-#ifdef CONFIG_AUTO_COMPLETE
-int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf,
- bool dollar_comp);
-#endif
int get_env_id (void);
void pci_init_board(void);