While banging my head on something else (which ultimately turned out to be me misunderstanding about what field applet.h is alphabetized on... not the USE_<appletname> bit, but the actual applet name), I discovered (what I think is) a typo on the new-applet-HOWTO.txt file. Patch attached.
Index: docs/new-applet-HOWTO.txt
===================================================================
--- docs/new-applet-HOWTO.txt   (revision 20355)
+++ docs/new-applet-HOWTO.txt   (working copy)
@@ -40,12 +40,12 @@
  */
 
 #include "libbb.h"
-#include "other.h"
+//#include "other.h"
 
 int mu_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
 int mu_main(int argc, char **argv)
 {
-       int fd;
+       int fd, n;
        char mu;
 
        fd = xopen("/dev/random", O_RDONLY);
@@ -123,7 +123,7 @@
 
 Add the applet to Config.in in the chosen directory:
 
-config CONFIG_MU
+config MU
        bool "MU"
        default n
        help

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to