[PATCH 05/10] scripts: remove now unnecessary include
Sascha Hauer
s.hauer at pengutronix.de
Sun Jan 20 10:35:14 EST 2013
include/environment.h is no longer necessary to build scripts/bareboxenv,
so remove its inclusion.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
include/environment.h | 4 ----
scripts/bareboxenv.c | 1 -
2 files changed, 5 deletions(-)
diff --git a/include/environment.h b/include/environment.h
index 6500ebb..7bdd213 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -20,8 +20,6 @@
#ifndef _ENVIRONMENT_H_
#define _ENVIRONMENT_H_
-
-#ifdef __BAREBOX__
/**
* Managment of a environment variable
*/
@@ -74,8 +72,6 @@ int env_push_context(void);
int export(const char *);
-#endif /* __BAREBOX__ */
-
#endif /* _ENVIRONMENT_H_ */
/**
diff --git a/scripts/bareboxenv.c b/scripts/bareboxenv.c
index 707d63d..9284c0b 100644
--- a/scripts/bareboxenv.c
+++ b/scripts/bareboxenv.c
@@ -118,7 +118,6 @@ char *concat_subpath_file(const char *path, const char *f)
#include "../include/envfs.h"
#include "../crypto/crc32.c"
#include "../lib/make_directory.c"
-#include "../include/environment.h"
#include "../common/environment.c"
void usage(char *prgname)
--
1.7.10.4
More information about the barebox
mailing list