summaryrefslogtreecommitdiffstats
path: root/include/environment.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-20 13:16:28 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-20 16:31:51 +0100
commit0c97dd006198dac14acc8e1dca1b57f2c4ad12b3 (patch)
treeffe994f20ddaf002d3e82e7cf6f9d4dc721868ff /include/environment.h
parent00df6b46373020348d27d6cc83f2b13e7a940935 (diff)
downloadbarebox-0c97dd006198dac14acc8e1dca1b57f2c4ad12b3.tar.gz
barebox-0c97dd006198dac14acc8e1dca1b57f2c4ad12b3.tar.xz
move prototypes for envfs_* to envfs.h
environment.h is for environment variables, not for the environment storage (envfs), so move the prototypes to envfs.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/environment.h b/include/environment.h
index 65f254bda2..6500ebb554 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -72,17 +72,10 @@ static inline int export(const char *var)
int env_pop_context(void);
int env_push_context(void);
-/* defaults to /dev/env0 */
-extern char *default_environment_path;
-
int export(const char *);
#endif /* __BAREBOX__ */
-#define ENV_FLAG_NO_OVERWRITE (1 << 0)
-int envfs_load(char *filename, char *dirname, unsigned flags);
-int envfs_save(char *filename, char *dirname);
-
#endif /* _ENVIRONMENT_H_ */
/**