diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/environment.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/environment.h b/include/environment.h index 1df2434..b4f9366 100644 --- a/include/environment.h +++ b/include/environment.h @@ -170,8 +170,6 @@ extern env_t environment; extern const unsigned char default_environment[]; extern env_t *env_ptr; -extern void env_relocate_spec(void); - #if defined(CONFIG_NEEDS_MANUAL_RELOC) extern void env_reloc(void); #endif @@ -320,6 +318,13 @@ struct env_driver *env_driver_lookup_default(void); */ int env_get_char(int index); +/** + * env_load() - Load the environment from storage + * + * @return 0 if OK, -ve on error + */ +int env_load(void); + #endif /* DO_DEPS_ONLY */ #endif /* _ENVIRONMENT_H_ */ |