summaryrefslogtreecommitdiff
path: root/include/environment.h
diff options
context:
space:
mode:
authorRajesh Bhagat <[email protected]>2018-11-05 18:01:10 +0000
committerYork Sun <[email protected]>2018-12-04 13:07:13 -0800
commitb6cba297affba968a8d8465655c71cb3ec8a9bde (patch)
tree7c25dbcfd59cd82f3099f76ebdcb704f9c58d8d7 /include/environment.h
parentd171c70716d49f0e14eb357ab645c8e72b791ca1 (diff)
env: allow flash and nand env driver to compile together
Define env_ptr as static in flash and nand env driver to allow these to compile together. Signed-off-by: Rajesh Bhagat <[email protected]> Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/environment.h b/include/environment.h
index 5e90f157e8d..7da1291d5bd 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -157,7 +157,6 @@ extern env_t environment;
#endif /* ENV_IS_EMBEDDED */
extern const unsigned char default_environment[];
-extern env_t *env_ptr;
#if defined(CONFIG_NEEDS_MANUAL_RELOC)
extern void env_reloc(void);