env: Move set_default_vars to env.h
Move this function to the new header file and rename it so it has an env_
prefix.
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/env/common.c b/env/common.c
index 1fbc4a8..db2a033 100644
--- a/env/common.c
+++ b/env/common.c
@@ -92,7 +92,7 @@
/* [re]set individual variables to their value in the default environment */
-int set_default_vars(int nvars, char * const vars[], int flags)
+int env_set_default_vars(int nvars, char * const vars[], int flags)
{
/*
* Special use-case: import from default environment