env: move extern environment[] to environment.h
Extract all extern declarations for environment out of c files into the environment.h header. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
This commit is contained in:
committed by
Stefano Babic
parent
d1459f0fab
commit
994bc671cf
@@ -154,6 +154,10 @@ typedef struct environment_s {
|
||||
unsigned char data[ENV_SIZE]; /* Environment data */
|
||||
} env_t;
|
||||
|
||||
#ifdef ENV_IS_EMBEDDED
|
||||
extern env_t environment;
|
||||
#endif /* ENV_IS_EMBEDDED */
|
||||
|
||||
extern const unsigned char default_environment[];
|
||||
|
||||
#ifndef DO_DEPS_ONLY
|
||||
|
||||
Reference in New Issue
Block a user