diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 17:27:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 17:27:14 +0000 |
commit | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (patch) | |
tree | e769e525c40a77516dfbd90d320412fa1e73459f /applets | |
parent | 6a1829d90c04e9fa6f5a836d043105bd34b60ecf (diff) | |
download | busybox-w32-c7ba8b9d6c926231c1c191136b1ea0bc14b87771.tar.gz busybox-w32-c7ba8b9d6c926231c1c191136b1ea0bc14b87771.tar.bz2 busybox-w32-c7ba8b9d6c926231c1c191136b1ea0bc14b87771.zip |
do not put all <applet>_main() declarations
in busybox.h - this produces false dependencies
Diffstat (limited to 'applets')
-rw-r--r-- | applets/Kbuild | 2 | ||||
-rw-r--r-- | applets/applets.c | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/applets/Kbuild b/applets/Kbuild index 2c6bee999..8999ff097 100644 --- a/applets/Kbuild +++ b/applets/Kbuild | |||
@@ -10,7 +10,7 @@ obj-y += busybox.o | |||
10 | 10 | ||
11 | # Generated file needs additional love | 11 | # Generated file needs additional love |
12 | 12 | ||
13 | applets/applets.o: include/usage_compressed.h | 13 | applets/applets.o: .config include/usage_compressed.h |
14 | 14 | ||
15 | hostprogs-y += usage | 15 | hostprogs-y += usage |
16 | always := $(hostprogs-y) | 16 | always := $(hostprogs-y) |
diff --git a/applets/applets.c b/applets/applets.c index 8a17cbf0b..557e9e5d8 100644 --- a/applets/applets.c +++ b/applets/applets.c | |||
@@ -12,8 +12,13 @@ | |||
12 | * Licensed under GPLv2 or later, see file License in this tarball for details. | 12 | * Licensed under GPLv2 or later, see file License in this tarball for details. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "busybox.h" | ||
16 | #include <assert.h> | 15 | #include <assert.h> |
16 | #include "busybox.h" | ||
17 | |||
18 | #define PROTOTYPES | ||
19 | #include "applets.h" | ||
20 | #undef PROTOTYPES | ||
21 | |||
17 | 22 | ||
18 | /* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */ | 23 | /* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */ |
19 | #if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__) | 24 | #if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__) |