summaryrefslogtreecommitdiff
path: root/include/environment.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 18:47:00 +0300
committerTom Rini <trini@konsulko.com>2019-08-11 23:43:41 +0300
commit0ac7d722ede8e64973f68dbcd07b9521ba04cb63 (patch)
tree179942d65436fafe8d1c3193bd15913f3b2c5f18 /include/environment.h
parent1f3db0c135fcaf40ff88bdcd058b56bc7e1f58f3 (diff)
downloadu-boot-0ac7d722ede8e64973f68dbcd07b9521ba04cb63.tar.xz
env: Move get/set_default_env() to env.h
Move these functions to the new header file and rename set_default_env() to env_set_default() so that it has a consistent env_ prefix. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/environment.h b/include/environment.h
index 27c0fee65f..ef391cc21a 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -265,12 +265,6 @@ struct env_driver {
extern struct hsearch_data env_htab;
-/* Look up the variable from the default environment */
-char *env_get_default(const char *name);
-
-/* [re]set to the default environment */
-void set_default_env(const char *s, int flags);
-
/**
* env_get_char() - Get a character from the early environment
*