From 8a503be840f2632c96af918ad2ba553b9de49dd9 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 24 Mar 2007 16:13:33 +0000 Subject: #ifdef out re_execed on MMU machines --- applets/busybox.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applets') diff --git a/applets/busybox.c b/applets/busybox.c index 5334827ca..47a8b4097 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -7,7 +7,9 @@ #include "busybox.h" const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; +#ifdef BB_NOMMU smallint re_execed; +#endif #ifdef CONFIG_FEATURE_INSTALLER /* @@ -60,11 +62,13 @@ int main(int argc, char **argv) { const char *s; +#ifdef BB_NOMMU /* NOMMU re-exec trick sets high-order bit in first byte of name */ if (argv[0][0] & 0x80) { re_execed = 1; argv[0][0] &= 0x7f; } +#endif applet_name = argv[0]; if (*applet_name == '-') -- cgit v1.2.3