summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen2000-11-30 00:27:06 +0000
committerEric Andersen2000-11-30 00:27:06 +0000
commit8c725e624a6fa97175f48e0fc34b37403e3b8613 (patch)
tree69a9da9b595aef4aa44cb0dd90723f6d8364ddc1 /applets
parent8c2d3f46ab4fd7310174a96ca770859dabcf325e (diff)
downloadbusybox-8c725e624a6fa97175f48e0fc34b37403e3b8613.zip
busybox-8c725e624a6fa97175f48e0fc34b37403e3b8613.tar.gz
Patch from Larry Doolittle (with minor touchups from me so everything compiles
and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes.
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 0a3333d..857367b 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -3,6 +3,10 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
+
+#undef APPLET
+#undef APPLET_NOUSAGE
+#undef PROTOTYPES
#include "applets.h"
#define bb_need_full_version