aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-23 01:30:26 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-23 01:30:26 +0200
commitc1947f18f539b3e2e1972ec0c9a78c4651cf328b (patch)
tree7fa1c60eece648db2d1a80591bb9c1b063a57628
parentc0dab37d0a2e079d0e0c85aa979439373e9096ca (diff)
downloadbusybox-c1947f18f539b3e2e1972ec0c9a78c4651cf328b.tar.gz
build failure fix and some cosmetics
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/appletlib.c2
-rw-r--r--shell/hush.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 0ebea4f44..b31532a93 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -27,10 +27,10 @@
* FEATURE_INSTALLER or FEATURE_SUID will still link printf routines in. :(
*/
+#include "busybox.h"
#include <assert.h>
#include <malloc.h>
#include <sys/user.h> /* PAGE_SIZE */
-#include "busybox.h"
/* Declare <applet>_main() */
diff --git a/shell/hush.c b/shell/hush.c
index 5edcdb844..1187cbe8f 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -454,9 +454,9 @@ struct function {
char *name;
struct command *parent_cmd;
struct pipe *body;
-#if !BB_MMU
+# if !BB_MMU
char *body_as_string;
-#endif
+# endif
};
#endif