aboutsummaryrefslogtreecommitdiff
path: root/applets/applets.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:27:14 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:27:14 +0000
commitc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (patch)
treee769e525c40a77516dfbd90d320412fa1e73459f /applets/applets.c
parent6a1829d90c04e9fa6f5a836d043105bd34b60ecf (diff)
downloadbusybox-c7ba8b9d6c926231c1c191136b1ea0bc14b87771.tar.gz
do not put all <applet>_main() declarations
in busybox.h - this produces false dependencies
Diffstat (limited to 'applets/applets.c')
-rw-r--r--applets/applets.c7
1 files changed, 6 insertions, 1 deletions
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 @@
* Licensed under GPLv2 or later, see file License in this tarball for details.
*/
-#include "busybox.h"
#include <assert.h>
+#include "busybox.h"
+
+#define PROTOTYPES
+#include "applets.h"
+#undef PROTOTYPES
+
/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */
#if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__)