Renamed "internal.h" to the more sensible "busybox.h".
authorEric Andersen <andersen@codepoet.org>
Mon, 25 Sep 2000 21:45:58 +0000 (21:45 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 25 Sep 2000 21:45:58 +0000 (21:45 -0000)
 -Erik

224 files changed:
Changelog
Makefile
applets/busybox.c
applets/usage.c
ar.c
archival/ar.c
archival/gunzip.c
archival/gzip.c
archival/tar.c
basename.c
busybox.c
cat.c
chmod_chown_chgrp.c
chroot.c
chvt.c
clear.c
cmdedit.c
console-tools/chvt.c
console-tools/clear.c
console-tools/deallocvt.c
console-tools/dumpkmap.c
console-tools/loadacm.c
console-tools/loadfont.c
console-tools/loadkmap.c
console-tools/reset.c
console-tools/setkeycodes.c
coreutils/basename.c
coreutils/cat.c
coreutils/chroot.c
coreutils/cut.c
coreutils/date.c
coreutils/dd.c
coreutils/df.c
coreutils/dirname.c
coreutils/dos2unix.c
coreutils/du.c
coreutils/echo.c
coreutils/expr.c
coreutils/head.c
coreutils/hostid.c
coreutils/id.c
coreutils/length.c
coreutils/ln.c
coreutils/logname.c
coreutils/ls.c
coreutils/md5sum.c
coreutils/mkdir.c
coreutils/mkfifo.c
coreutils/mknod.c
coreutils/printf.c
coreutils/pwd.c
coreutils/rm.c
coreutils/rmdir.c
coreutils/sleep.c
coreutils/sort.c
coreutils/sync.c
coreutils/tail.c
coreutils/tee.c
coreutils/test.c
coreutils/touch.c
coreutils/tr.c
coreutils/tty.c
coreutils/uname.c
coreutils/uniq.c
coreutils/usleep.c
coreutils/uudecode.c
coreutils/uuencode.c
coreutils/wc.c
coreutils/whoami.c
coreutils/yes.c
cp_mv.c
cut.c
date.c
dc.c
dd.c
deallocvt.c
df.c
dirname.c
dmesg.c
dos2unix.c
du.c
dumpkmap.c
dutmp.c
echo.c
editors/sed.c
expr.c
fbset.c
fdflush.c
find.c
findutils/find.c
findutils/grep.c
findutils/which.c
findutils/xargs.c
free.c
freeramdisk.c
fsck_minix.c
getopt.c
grep.c
gunzip.c
gzip.c
halt.c
head.c
hostid.c
hostname.c
id.c
init.c
init/halt.c
init/init.c
init/poweroff.c
init/reboot.c
insmod.c
internal.h [deleted file]
kill.c
lash.c
length.c
ln.c
loadacm.c
loadfont.c
loadkmap.c
logger.c
logname.c
ls.c
lsmod.c
makedevs.c
md5sum.c
messages.c
miscutils/dc.c
miscutils/dutmp.c
miscutils/makedevs.c
miscutils/mktemp.c
miscutils/mt.c
miscutils/update.c
mkdir.c
mkfifo.c
mkfs_minix.c
mknod.c
mkswap.c
mktemp.c
modutils/insmod.c
modutils/lsmod.c
modutils/rmmod.c
more.c
mount.c
mt.c
mtab.c
nc.c
networking/hostname.c
networking/nc.c
networking/nslookup.c
networking/ping.c
networking/telnet.c
networking/wget.c
nfsmount.c
nslookup.c
ping.c
poweroff.c
printf.c
procps/free.c
procps/kill.c
procps/ps.c
procps/renice.c
procps/uptime.c
ps.c
pwd.c
rdate.c
reboot.c
renice.c
reset.c
rm.c
rmdir.c
rmmod.c
sed.c
setkeycodes.c
sh.c
shell/cmdedit.c
shell/lash.c
sleep.c
sort.c
swaponoff.c
sync.c
sysklogd/logger.c
sysklogd/syslogd.c
syslogd.c
tail.c
tar.c
tee.c
telnet.c
test.c
touch.c
tr.c
true_false.c
tty.c
umount.c
uname.c
uniq.c
unix2dos.c
unrpm.c
update.c
uptime.c
usage.c
usleep.c
util-linux/dmesg.c
util-linux/fbset.c
util-linux/fdflush.c
util-linux/freeramdisk.c
util-linux/fsck_minix.c
util-linux/getopt.c
util-linux/mkfs_minix.c
util-linux/mkswap.c
util-linux/more.c
util-linux/mount.c
util-linux/nfsmount.c
util-linux/rdate.c
util-linux/swaponoff.c
util-linux/umount.c
utility.c
uudecode.c
uuencode.c
wc.c
wget.c
which.c
whoami.c
xargs.c
yes.c

index b374845ed6ff1432bf0b45fa6c3e1fde7ec2eeda..930a7dfb1acfedfe03a8e776ca84d7b8c66d8d66 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -32,6 +32,7 @@
        * Fixed chmod option parsing so things like 'chmod -r /tmp/file'
            now work (previously it thought -r was an option).  Doh!
        * Fixed tar handling of stdin and stdout
+       * Renamed "internal.h" to the more sensible "busybox.h"
        * Preliminary support for GNU HURD.
        * Tons of other bugfixes.
 
index 469539095f0533df6bd5bc9bd77106e623651abd..5cb888689b199c1db9341c3dbf26cf835ac80730 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -177,7 +177,7 @@ busybox.links: Config.h
        - ./busybox.mkll | sort >$@
 
 nfsmount.o cmdedit.o: %.o: %.h
-$(OBJECTS): %.o: Config.h internal.h  %.c Makefile
+$(OBJECTS): %.o: Config.h busybox.h  %.c Makefile
 
 utility.o: loop.h
 
index 17a4c447a849ddc0aa50f9714371f09b13250d1e..825f40e7c236347318c25db8c0d2d34a8b91b8f8 100644 (file)
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
@@ -369,7 +369,7 @@ const char *applet_name;
 #ifdef BB_FEATURE_INSTALLER
 /* 
  * directory table
- *             this should be consistent w/ the enum, internal.h::Location,
+ *             this should be consistent w/ the enum, busybox.h::Location,
  *             or else...
  */
 static char* install_dir[] = {
index c4da08ad7fc8f428db123efb97f192a84ec48c73..ae6cbaa7c0a79fdc660a8311ed5943ba420e7b61 100644 (file)
@@ -1,4 +1,4 @@
-#include "internal.h"
+#include "busybox.h"
 
 #if defined BB_AR
 const char ar_usage[] =
diff --git a/ar.c b/ar.c
index 59c3a77545a936f0726de9241d880c72840a9940..f3ba59b6a4978bddb7a75f4aa0e4503851e6505e 100644 (file)
--- a/ar.c
+++ b/ar.c
@@ -35,7 +35,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <malloc.h>
-#include "internal.h"
+#include "busybox.h"
 
 #define BLOCK_SIZE 60
 #define PRESERVE_DATE 1        /* preserve original dates */
index 59c3a77545a936f0726de9241d880c72840a9940..f3ba59b6a4978bddb7a75f4aa0e4503851e6505e 100644 (file)
@@ -35,7 +35,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <malloc.h>
-#include "internal.h"
+#include "busybox.h"
 
 #define BLOCK_SIZE 60
 #define PRESERVE_DATE 1        /* preserve original dates */
index b27ebeda8cebf0f51e2933bb76b530c7fdb45fd1..ee8693013344defcabbde780961f289e09d385e6 100644 (file)
@@ -27,7 +27,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <getopt.h>
 
 /* These defines are very important for BusyBox.  Without these,
index c0832680fa00fc9486e862d68b6110fa74d622a4..e518ffd16a9e29ab34738f0a03d45e96eb145563 100644 (file)
@@ -29,7 +29,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_memory_exhausted
 #include "messages.c"
index e4bdd0a6c092a5e8fe5eaf638d915b9060a2e443..c14a6194d4544dc79304a1762bb814ffb2bd1511 100644 (file)
@@ -36,7 +36,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_io_error
 #define bb_need_name_longer_then_foo
index 5b83eef492c47ffaee991fd88dd3b068f8827a11..4d9fc4ec0c90107bef321a5037db557c2f1e7d9c 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int basename_main(int argc, char **argv)
index 17a4c447a849ddc0aa50f9714371f09b13250d1e..825f40e7c236347318c25db8c0d2d34a8b91b8f8 100644 (file)
--- a/busybox.c
+++ b/busybox.c
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
@@ -369,7 +369,7 @@ const char *applet_name;
 #ifdef BB_FEATURE_INSTALLER
 /* 
  * directory table
- *             this should be consistent w/ the enum, internal.h::Location,
+ *             this should be consistent w/ the enum, busybox.h::Location,
  *             or else...
  */
 static char* install_dir[] = {
diff --git a/cat.c b/cat.c
index d47f814cf43e041bc97a7149bef9d203822b0903..51f1d27a64acdbf30d435d40b3095161024766e0 100644 (file)
--- a/cat.c
+++ b/cat.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int cat_main(int argc, char **argv)
index b347707eeb46d1ca008d0b78fef51d25cdf2c4f4..1ec7eec6cda20fdc7ace6909fcd6dc72ba9eb705 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_invalid_option
 #define bb_need_too_few_args
index e8ce539732490eacb2a07a25ec1b2de6a78c0687..f0a298104fc6d39c3806da358fcc6029467bd3cc 100644 (file)
--- a/chroot.c
+++ b/chroot.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
diff --git a/chvt.c b/chvt.c
index 87a1248fd70f105799c7de11cc6d8f403a775b15..d4b16a05dab0e328198f8f9dc7e4995eea093cea 100644 (file)
--- a/chvt.c
+++ b/chvt.c
@@ -4,7 +4,7 @@
  *
  * busyboxed by Erik Andersen
  */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
diff --git a/clear.c b/clear.c
index dba10569190b554d2752a0528c9f3a1423ab48a3..4a8e0450fbf13827437b5cf00649dadeeac4fa33 100644 (file)
--- a/clear.c
+++ b/clear.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 
index 04abc938c3cd6d5f42f717e8c9fb9b94a8968865..af29b059aabf9e63d4a8cf8ffaa89c5a9a7c2492 100644 (file)
--- a/cmdedit.c
+++ b/cmdedit.c
@@ -31,7 +31,7 @@
    terminal width. (more then one line.) However, history will.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #ifdef BB_FEATURE_SH_COMMAND_EDITING
 
 #include <stdio.h>
index 87a1248fd70f105799c7de11cc6d8f403a775b15..d4b16a05dab0e328198f8f9dc7e4995eea093cea 100644 (file)
@@ -4,7 +4,7 @@
  *
  * busyboxed by Erik Andersen
  */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
index dba10569190b554d2752a0528c9f3a1423ab48a3..4a8e0450fbf13827437b5cf00649dadeeac4fa33 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 
index bb9632fdec3e8ff278520864f182fb71dfe1cdca..65af79b7791dfc8ed7b06009bcd5bec499452d1a 100644 (file)
@@ -3,7 +3,7 @@
  * disalloc.c - aeb - 940501 - Disallocate virtual terminal(s)
  * Renamed deallocvt.
  */
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <fcntl.h>
index 13b7d8937f82eb4d2c901ef39847d44529ed5148..2d989dfc499f83243d5eb1147848a9c48075480c 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index 7f669bf0834d3eb2bd6d332d1ae8882347112fbd..826c2a33fc714bc8d878059fadf4b8036264f785 100644 (file)
@@ -7,7 +7,7 @@
  * Peter Novodvorsky <petya@logic.ru>
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <memory.h>
index e93ca31868429d8795ca6691ff04a371ae98a6ff..d6eadc353e23587f8b3a94a29e99dcbfc031c05a 100644 (file)
@@ -7,7 +7,7 @@
  * Loads the console font, and possibly the corresponding screen map(s).
  * (Adapted for busybox by Matej Vela.)
  */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <string.h>
 #include <fcntl.h>
index 2321a1ededc67c80d4ce089bd799a6078f8f62e6..3f8d726e0725b580e103d08d378acfad09b54e3c 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index 6c4ae35ae1f997fa4574ff348e0f686201b3fbdd..8e2c491e2a8aad1a184f9a792fc42a230fb6c8ef 100644 (file)
@@ -23,7 +23,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int reset_main(int argc, char **argv)
index 284ffa194b70518672167e51bb34b6dada80ac6c..63c1063330fb70e1d2c1a70cb6760426b6be8d2c 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
index 5b83eef492c47ffaee991fd88dd3b068f8827a11..4d9fc4ec0c90107bef321a5037db557c2f1e7d9c 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int basename_main(int argc, char **argv)
index d47f814cf43e041bc97a7149bef9d203822b0903..51f1d27a64acdbf30d435d40b3095161024766e0 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int cat_main(int argc, char **argv)
index e8ce539732490eacb2a07a25ec1b2de6a78c0687..f0a298104fc6d39c3806da358fcc6029467bd3cc 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
index fec52d3d4a4379da72c9764a84e9e3b0f2c3217e..1d36a4e888e5d3f0debcd7aa326ada744a1126f6 100644 (file)
@@ -26,7 +26,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <errno.h>
-#include "internal.h"
+#include "busybox.h"
 
 
 /* globals from other files */
index 571a556257eccb476591c61ea5684e4643e1c21f..2e99aea19a220d687d0483042aa3ffbbb9b7b651 100644 (file)
@@ -20,7 +20,7 @@
  *
 */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_invalid_date
 #define bb_need_memory_exhausted
index 697cb7e581e829dc86434cba0e196ef54fa4ef54..01441c3144e3fdfd2c0884e6a973d8dc2abc03f3 100644 (file)
@@ -29,7 +29,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <features.h>
 #include <stdio.h>
 #include <fcntl.h>
index d8f8b7739855b2f80e1ef81bd760f26d0ea2d928..8d6242c56c88cb08259eb28d71f5337b6692ded3 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <mntent.h>
 #include <sys/vfs.h>
index e63fef30b47a184dc4299d3270029efe49004cfc..23f46be4085e842b7b76b131188a2bca1cd87655 100644 (file)
@@ -20,7 +20,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  *
  */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int dirname_main(int argc, char **argv)
index 9634687eb2ab22c1f7d83f5214726fb88cf1a781..c9f783f1a6c5e675f55827e1ca491eaf7a5560cd 100644 (file)
@@ -22,7 +22,7 @@
   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 int dos2unix_main( int argc, char **argv ) {
index 5a08abb78746d22f52c1f6cfc692da5555aeef96..408ad994cc626c41f3be8e458c14945ae5c4addf 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_name_too_long
 #include "messages.c"
@@ -163,7 +163,7 @@ int du_main(int argc, char **argv)
        return(0);
 }
 
-/* $Id: du.c,v 1.24 2000/07/17 16:17:19 proski Exp $ */
+/* $Id: du.c,v 1.25 2000/09/25 21:45:57 andersen Exp $ */
 /*
 Local Variables:
 c-file-style: "linux"
index 924cdd40c7a52eec0577a3eb8c4f0554a9a5f35f..6890d95e0b87a967ecb6c63f9d1b48deefe45b20 100644 (file)
@@ -22,7 +22,7 @@
  * Original copyright notice is retained at the end of this file.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int 
index 9e3c04a11e7c02900b35b089a0c58b93498743a0..670352eb69a9b04c1c7c320e8d5670d909c04b28 100644 (file)
@@ -33,7 +33,7 @@
  * One function can handle multiple operators all of equal precedence,
  * provided they all associate ((x op x) op x). */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 
index 58b3cae682733b582e592a5e9d5e1550f3870aa6..c232e115392c40732dded0832368d1859b760828 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <errno.h>
 #include <stdio.h>
 
@@ -100,4 +100,4 @@ int head_main(int argc, char **argv)
        return(0);
 }
 
-/* $Id: head.c,v 1.13 2000/07/16 20:57:15 kraai Exp $ */
+/* $Id: head.c,v 1.14 2000/09/25 21:45:57 andersen Exp $ */
index f1010a65d524fa11301801018d22a7138478b3e6..47bd8d724815f13c377976d1281a6a688f70615f 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int hostid_main(int argc, char **argv)
index a1a17924c32ec12d2004f146ee54020e8df20a04..fdfc33cdcd3b6b9b76f55225901fc0f072b4fb12 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <pwd.h>
index cf4fb1c079dba9812e32d7d668c886c0b6b6fa2d..14d15c81c5f615ec8744dfc4d93a8996460e41c1 100644 (file)
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
index d5f44ea4c363e344462790af2f79d69acdf49c47..8ef8d05decaf69fe543dd62d03bbbafa125c92a0 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_not_a_directory
 #include "messages.c"
index a0aff42d648611b9c840e86ed10baf42e24c3f1a..09ee24928a1ba6aa8dbf0242723ea9ed0bb210f8 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int logname_main(int argc, char **argv)
index 0e08f7683fa57b43ca2010b242957e2bb6cf1d1b..385d6b2de39737f3b6f239597f780fe5beb40b5f 100644 (file)
@@ -47,7 +47,7 @@
 
 /************************************************************************/
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <stdio.h>
index a791a41b0a5a90b17fc0e68c2af435fc9942e19d..c7e5402233d1b38e6673d4e66ac6d595a7534eb1 100644 (file)
@@ -20,7 +20,7 @@
 /* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu> */
 /* Hacked to work with BusyBox by Alfred M. Szmidt <ams@trillian.itslinux.org> */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <ctype.h>
@@ -66,7 +66,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
 #include <string.h>
 #include <endian.h>
 
-#include "internal.h"
+#include "busybox.h"
 //----------------------------------------------------------------------------
 //--------md5.h
 //----------------------------------------------------------------------------
index f824cdcb671bb9bc5804d52a9b4a040b63b51b70..04310e4c78a3e90b10f4f0700f6d6aaf7b73e2e2 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define bb_need_name_too_long
 #define BB_DECLARE_EXTERN
 #include "messages.c"
index 5d4126ac07008a824c9c44d583e764207c9f1086..5e1bc1a78fc10bbbee448e94931d6da9e70a6871 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 #include <errno.h>
index b815aa1984b221361250daf5ec8360406107e342..ecb0e4780643f33511e6a8aed13de3bef82e865a 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <sys/types.h>
index 94b809348d753d3c84d2baaba0c160b57db1aeb1..832ca13d64c3460448722b19f0f34615f01bbd57 100644 (file)
@@ -47,7 +47,7 @@
 
 //   19990508 Busy Boxed! Dave Cinege
 
-#include "internal.h"
+#include "busybox.h"
 #include <unistd.h>
 #include <stdio.h>
 #include <sys/types.h>
index f0c923b7b3cc35b1f777928feb30bdeba20a8fdc..c9de7778eec0765c75a1da43a1d2e4a553b560b9 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <dirent.h>
 #include <errno.h>
index c93a94ce10b87a5ad021ac2437049571af556119..4f97cad23e505aa731f22bb4ad34b7854d754731 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <time.h>
 #include <utime.h>
index 500890e4013b23f9348cd8d77c2329ac46238dbf..14ebf92c5263184d71d4c494c2cc1a9f234de818 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 
index d6705c4c3cc5c6a280c830531aad66e79fb23b98..709e3de34b7a2527b1efe26838ba956bc2890d55 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int sleep_main(int argc, char **argv)
index a74f96ad08b60b5c94f7af12bb99a5879b9fb525..3fe4c7756c0618928af2c4cd0c098f44323a5609 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/types.h>
 #include <fcntl.h>
 #include <dirent.h>
@@ -288,4 +288,4 @@ int sort_main(int argc, char **argv)
        return(0);
 }
 
-/* $Id: sort.c,v 1.21 2000/09/13 02:46:13 kraai Exp $ */
+/* $Id: sort.c,v 1.22 2000/09/25 21:45:58 andersen Exp $ */
index 3737cb1f1822f86aebfb0421116bc048e3ed7fd2..8f101cf17a219efbe10a4c980ac6d74dd3daf17c 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int sync_main(int argc, char **argv)
index dcb4f6742454c633225b097c53596acb4a4bfb88..1091d28edb4ffde0829ac490df5dfa07b878e62f 100644 (file)
@@ -38,7 +38,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <getopt.h>
-#include "internal.h"
+#include "busybox.h"
 
 #define STDIN "standard input"
 #define LINES 0
index dc9876020b8299c7efb44e7ad967f1d294ba792d..621801336eeef1eb40978826092904c47afb73b0 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <getopt.h>
 #include <stdio.h>
 
index a2bec44924f7f42c00e1f8421966f15ec57f971f..acd6947d98de1160d15ff2c6ecd71f0453076b72 100644 (file)
@@ -31,7 +31,7 @@
  *     "This program is in the Public Domain."
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/types.h>
 #include <unistd.h>
 #include <ctype.h>
index 464aedb551401e85ab3b44b0624390abb1ddc50e..7db6c6e3383ab2156d6c1569174a44b5cc28d3e3 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 #include <fcntl.h>
index 004092477e9e1667bf1fd58ba94572445936fd75..54b6abc8cae0e5ef8025cfc559bca0c2f3420824 100644 (file)
@@ -24,7 +24,7 @@
  * Original copyright notice is retained at the end of this file.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
index bbc051f6b6ffe8395b157a756206d8191e709ac2..6eebed9fbc3a444e62d00c8253c07949e219fb78 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 
index 55616dd19bd0ffaaa4d578a8a3238f2adc9120ef..8d9427c8649c82a50ce296e9352c39b41e534eab 100644 (file)
@@ -31,7 +31,7 @@
 
 /* Busyboxed by Erik Andersen */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/utsname.h>
index 016fc77806cadb534616c9e79b65233fec608438..ef38587bd2066479de1e703bcd63c2cfdf91151d 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
@@ -179,4 +179,4 @@ int uniq_main(int argc, char **argv)
        return(0);
 }
 
-/* $Id: uniq.c,v 1.13 2000/07/16 20:57:15 kraai Exp $ */
+/* $Id: uniq.c,v 1.14 2000/09/25 21:45:58 andersen Exp $ */
index fcdf3bbf66c7f53ea851874e48245cb35001ac5b..69790ef090bc6efc6882b4633c5e14bb341fc241 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <unistd.h>
 
index 90bef9238f103c885ad85e446fa12ee54f761d5c..965ded5b50d862085d7a6da8cba3cfb79c0fe0da 100644 (file)
@@ -51,7 +51,7 @@
 
 /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93.  */
 
-#include "internal.h"
+#include "busybox.h"
 
 #include <stdio.h>
 #include <errno.h>
index 1433c7f3b4dd00bb8eb6b80fddfb007943a487f1..5835bd22a82d0109bb6d2bc2bb23b82e8970ed11 100644 (file)
@@ -52,7 +52,7 @@
 /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93.  */
 /* Hacked to work with BusyBox by Alfred M. Szmidt */
 
-#include "internal.h"
+#include "busybox.h"
 
 #include <stdio.h>
 #include <errno.h>
index ca5b3680a70967b8b938faeef6e3d55b201049b3..b1c9a51cdfec21d2b57f44ee848faf4a7a215223 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <getopt.h>
 
index 84b27fe58ec472f0b63f9f766fe77bf6b38e6243..f3c21b3f5a89886b49fee8ca2d219afa2fe81774 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <pwd.h>
 
index 11fa537a0488a3238d086b543dba142f6e5f61a9..46873f3f969693ce01015ce72cb8db0b74d01365 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int yes_main(int argc, char **argv)
diff --git a/cp_mv.c b/cp_mv.c
index f56c6dd49f9cfd369f777d28b2af4431468f891e..2257f44220cacdd5135df6bf4c021ed02f530baf 100644 (file)
--- a/cp_mv.c
+++ b/cp_mv.c
@@ -25,7 +25,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_name_too_long
 #define bb_need_omitting_directory
diff --git a/cut.c b/cut.c
index fec52d3d4a4379da72c9764a84e9e3b0f2c3217e..1d36a4e888e5d3f0debcd7aa326ada744a1126f6 100644 (file)
--- a/cut.c
+++ b/cut.c
@@ -26,7 +26,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <errno.h>
-#include "internal.h"
+#include "busybox.h"
 
 
 /* globals from other files */
diff --git a/date.c b/date.c
index 571a556257eccb476591c61ea5684e4643e1c21f..2e99aea19a220d687d0483042aa3ffbbb9b7b651 100644 (file)
--- a/date.c
+++ b/date.c
@@ -20,7 +20,7 @@
  *
 */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_invalid_date
 #define bb_need_memory_exhausted
diff --git a/dc.c b/dc.c
index fac48e895a73da16eb00059aef05c08e7c6a5f4d..48aa830d6117ffb676c00be3910ae79f05afd5ca 100644 (file)
--- a/dc.c
+++ b/dc.c
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/dd.c b/dd.c
index 697cb7e581e829dc86434cba0e196ef54fa4ef54..01441c3144e3fdfd2c0884e6a973d8dc2abc03f3 100644 (file)
--- a/dd.c
+++ b/dd.c
@@ -29,7 +29,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <features.h>
 #include <stdio.h>
 #include <fcntl.h>
index bb9632fdec3e8ff278520864f182fb71dfe1cdca..65af79b7791dfc8ed7b06009bcd5bec499452d1a 100644 (file)
@@ -3,7 +3,7 @@
  * disalloc.c - aeb - 940501 - Disallocate virtual terminal(s)
  * Renamed deallocvt.
  */
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <fcntl.h>
diff --git a/df.c b/df.c
index d8f8b7739855b2f80e1ef81bd760f26d0ea2d928..8d6242c56c88cb08259eb28d71f5337b6692ded3 100644 (file)
--- a/df.c
+++ b/df.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <mntent.h>
 #include <sys/vfs.h>
index e63fef30b47a184dc4299d3270029efe49004cfc..23f46be4085e842b7b76b131188a2bca1cd87655 100644 (file)
--- a/dirname.c
+++ b/dirname.c
@@ -20,7 +20,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  *
  */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int dirname_main(int argc, char **argv)
diff --git a/dmesg.c b/dmesg.c
index 99d053a72640e5fe887eb31fe17cae699ec5af7a..88b5d13930bb3dcd232ffa63fbdb65ab263a2b2a 100644 (file)
--- a/dmesg.c
+++ b/dmesg.c
@@ -15,7 +15,7 @@
  * Support, replaced getopt, added some gotos for redundant stuff.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 
index 9634687eb2ab22c1f7d83f5214726fb88cf1a781..c9f783f1a6c5e675f55827e1ca491eaf7a5560cd 100644 (file)
@@ -22,7 +22,7 @@
   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 int dos2unix_main( int argc, char **argv ) {
diff --git a/du.c b/du.c
index 5a08abb78746d22f52c1f6cfc692da5555aeef96..408ad994cc626c41f3be8e458c14945ae5c4addf 100644 (file)
--- a/du.c
+++ b/du.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_name_too_long
 #include "messages.c"
@@ -163,7 +163,7 @@ int du_main(int argc, char **argv)
        return(0);
 }
 
-/* $Id: du.c,v 1.24 2000/07/17 16:17:19 proski Exp $ */
+/* $Id: du.c,v 1.25 2000/09/25 21:45:57 andersen Exp $ */
 /*
 Local Variables:
 c-file-style: "linux"
index 13b7d8937f82eb4d2c901ef39847d44529ed5148..2d989dfc499f83243d5eb1147848a9c48075480c 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
diff --git a/dutmp.c b/dutmp.c
index ec10941d01d44567b3c9ab15a58309c83ee523d6..cf5f1cff802871be7a0710cf8be14f6534f39b23 100644 (file)
--- a/dutmp.c
+++ b/dutmp.c
@@ -12,7 +12,7 @@
  * Erik Andersen <andersen@lineo.com>
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/types.h>
 #include <fcntl.h>
 
diff --git a/echo.c b/echo.c
index 924cdd40c7a52eec0577a3eb8c4f0554a9a5f35f..6890d95e0b87a967ecb6c63f9d1b48deefe45b20 100644 (file)
--- a/echo.c
+++ b/echo.c
@@ -22,7 +22,7 @@
  * Original copyright notice is retained at the end of this file.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int 
index 0e0d7f58c46e5f4d430828d3562bfe36c7e4f238..cb3f1bbf15558d849e66bc4130c6dd8a4ad40233 100644 (file)
@@ -49,7 +49,7 @@
 #include <string.h> /* for strdup() */
 #include <errno.h>
 #include <ctype.h> /* for isspace() */
-#include "internal.h"
+#include "busybox.h"
 
 #define bb_need_full_version
 #define BB_DECLARE_EXTERN
diff --git a/expr.c b/expr.c
index 9e3c04a11e7c02900b35b089a0c58b93498743a0..670352eb69a9b04c1c7c320e8d5670d909c04b28 100644 (file)
--- a/expr.c
+++ b/expr.c
@@ -33,7 +33,7 @@
  * One function can handle multiple operators all of equal precedence,
  * provided they all associate ((x op x) op x). */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 
diff --git a/fbset.c b/fbset.c
index 235338c55711669bbe2b7bb961dc13f9901314b4..32325a7cfbe880155533bbd55a708054f11e745d 100644 (file)
--- a/fbset.c
+++ b/fbset.c
@@ -24,7 +24,7 @@
  *     Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 6bc3e7d66cc05543f5dbd16c18c38c9ac440aa7f..6633e12128a922b8d488b5c71c13371fc813226b 100644 (file)
--- a/fdflush.c
+++ b/fdflush.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
diff --git a/find.c b/find.c
index 1c209aea124eee25caf6642dd6fbeb8746240a02..48faf2c30bcf3bd6601fd9d3a47e11691c615a8d 100644 (file)
--- a/find.c
+++ b/find.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <dirent.h>
index 1c209aea124eee25caf6642dd6fbeb8746240a02..48faf2c30bcf3bd6601fd9d3a47e11691c615a8d 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <dirent.h>
index 3ee409c64c8ed24df05ed6b9cb5c9194a6347579..003dae98ed92a03fa5b76e8240aba84bffbf0260 100644 (file)
@@ -26,7 +26,7 @@
 #include <regex.h>
 #include <string.h> /* for strerror() */
 #include <errno.h>
-#include "internal.h"
+#include "busybox.h"
 
 extern int optind; /* in unistd.h */
 extern int errno;  /* for use with strerror() */
index 7df2557a316208422cf4857b74fae5f2c5a15f65..da8801fabe6789865dd5cfc3265a683fcc8a7cbb 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int which_main(int argc, char **argv)
index b8ac31aa004829ebe54d7fe327ad3cbbe3f17ecb..4a3fe3c6094722f890c28382c35541e9e7a99ce1 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
diff --git a/free.c b/free.c
index d8c3f0b919dce48f5eb94a198a2057394ef98141..a33fa9a596c4d3b982b5a5df7dfe6e5f5939b7ff 100644 (file)
--- a/free.c
+++ b/free.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 
index 64915b313251dcdba33e6ccc094a1287d6bdbe28..22fc3e643ee61f5c5928791c772a27aa8e386b57 100644 (file)
@@ -27,7 +27,7 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <errno.h>
-#include "internal.h"
+#include "busybox.h"
 
 
 /* From linux/fs.h */
index 04c2b3317a403d0a8a69b2093cfe503fc88374c1..ef65e3073b7b0a718a7eee2160c468832691064e 100644 (file)
@@ -86,7 +86,7 @@
  * enforced (but it's not much fun on a character device :-). 
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
index fb75790d9a102020b9f82699a6593b352b59b0bf..919ae6c68f3e339e08b7877410eda51269cde003 100644 (file)
--- a/getopt.c
+++ b/getopt.c
@@ -49,7 +49,7 @@
 #include <ctype.h>
 #include <getopt.h>
 
-#include "internal.h"
+#include "busybox.h"
 
 /* NON_OPT is the code that is returned when a non-option is found in '+'
    mode */
diff --git a/grep.c b/grep.c
index 3ee409c64c8ed24df05ed6b9cb5c9194a6347579..003dae98ed92a03fa5b76e8240aba84bffbf0260 100644 (file)
--- a/grep.c
+++ b/grep.c
@@ -26,7 +26,7 @@
 #include <regex.h>
 #include <string.h> /* for strerror() */
 #include <errno.h>
-#include "internal.h"
+#include "busybox.h"
 
 extern int optind; /* in unistd.h */
 extern int errno;  /* for use with strerror() */
index b27ebeda8cebf0f51e2933bb76b530c7fdb45fd1..ee8693013344defcabbde780961f289e09d385e6 100644 (file)
--- a/gunzip.c
+++ b/gunzip.c
@@ -27,7 +27,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <getopt.h>
 
 /* These defines are very important for BusyBox.  Without these,
diff --git a/gzip.c b/gzip.c
index c0832680fa00fc9486e862d68b6110fa74d622a4..e518ffd16a9e29ab34738f0a03d45e96eb145563 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -29,7 +29,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_memory_exhausted
 #include "messages.c"
diff --git a/halt.c b/halt.c
index 2ca36d038eb1d653fe0e60a8548adece67e7ea1a..c3e2523c041120cd101f8f43e1d1e62cf2a1b46a 100644 (file)
--- a/halt.c
+++ b/halt.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <signal.h>
 
 extern int halt_main(int argc, char **argv)
diff --git a/head.c b/head.c
index 58b3cae682733b582e592a5e9d5e1550f3870aa6..c232e115392c40732dded0832368d1859b760828 100644 (file)
--- a/head.c
+++ b/head.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <errno.h>
 #include <stdio.h>
 
@@ -100,4 +100,4 @@ int head_main(int argc, char **argv)
        return(0);
 }
 
-/* $Id: head.c,v 1.13 2000/07/16 20:57:15 kraai Exp $ */
+/* $Id: head.c,v 1.14 2000/09/25 21:45:57 andersen Exp $ */
index f1010a65d524fa11301801018d22a7138478b3e6..47bd8d724815f13c377976d1281a6a688f70615f 100644 (file)
--- a/hostid.c
+++ b/hostid.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int hostid_main(int argc, char **argv)
index 77b545dedbae65b5a4a16f48650f33d05ee34a11..4320a968c364e1dfd9f838b2449f6289c71188b6 100644 (file)
@@ -1,6 +1,6 @@
 /* vi: set sw=4 ts=4: */
 /*
- * $Id: hostname.c,v 1.12 2000/07/16 20:57:15 kraai Exp $
+ * $Id: hostname.c,v 1.13 2000/09/25 21:45:57 andersen Exp $
  * Mini hostname implementation for busybox
  *
  * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -23,7 +23,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <errno.h>
 #include <arpa/inet.h>
 #include <netdb.h>
diff --git a/id.c b/id.c
index a1a17924c32ec12d2004f146ee54020e8df20a04..fdfc33cdcd3b6b9b76f55225901fc0f072b4fb12 100644 (file)
--- a/id.c
+++ b/id.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <pwd.h>
diff --git a/init.c b/init.c
index 2c23e60b7500d42e58fe3f4e9bd097b270e5bfee..17e605ba09b6be0eeb6d3f9ec30a816c666d2c9f 100644 (file)
--- a/init.c
+++ b/init.c
@@ -27,7 +27,7 @@
 #define DEBUG_INIT
 */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
index 2ca36d038eb1d653fe0e60a8548adece67e7ea1a..c3e2523c041120cd101f8f43e1d1e62cf2a1b46a 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <signal.h>
 
 extern int halt_main(int argc, char **argv)
index 2c23e60b7500d42e58fe3f4e9bd097b270e5bfee..17e605ba09b6be0eeb6d3f9ec30a816c666d2c9f 100644 (file)
@@ -27,7 +27,7 @@
 #define DEBUG_INIT
 */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
index 126a0fb9496e81fc08c8079127a7bc7a2714f0fb..3101a20dc06861b92e0732b77d447b193da3ca24 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <signal.h>
 
 extern int poweroff_main(int argc, char **argv)
index bde8dbd7750d7dc1511f80c9f1ed141e94a81fce..354286d4764e086672715a8efa5c93eeb9bce3d7 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <signal.h>
 
 extern int reboot_main(int argc, char **argv)
index 136f9f06205208af3a36eb700e985e95e31a55c1..0c81af6f03e62db0085197ff89c0e4e3ad27ddc6 100644 (file)
--- a/insmod.c
+++ b/insmod.c
@@ -36,7 +36,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <stddef.h>
@@ -77,7 +77,7 @@
 #ifndef MODUTILS_MODULE_H
 #define MODUTILS_MODULE_H 1
 
-#ident "$Id: insmod.c,v 1.24 2000/09/24 03:44:29 andersen Exp $"
+#ident "$Id: insmod.c,v 1.25 2000/09/25 21:45:58 andersen Exp $"
 
 /* This file contains the structures used by the 2.0 and 2.1 kernels.
    We do not use the kernel headers directly because we do not wish
@@ -283,7 +283,7 @@ int delete_module(const char *);
 #ifndef MODUTILS_OBJ_H
 #define MODUTILS_OBJ_H 1
 
-#ident "$Id: insmod.c,v 1.24 2000/09/24 03:44:29 andersen Exp $"
+#ident "$Id: insmod.c,v 1.25 2000/09/25 21:45:58 andersen Exp $"
 
 /* The relocatable object is manipulated using elfin types.  */
 
diff --git a/internal.h b/internal.h
deleted file mode 100644 (file)
index 69f4554..0000000
+++ /dev/null
@@ -1,468 +0,0 @@
-/* vi: set sw=4 ts=4: */
-/*
- * Busybox main internal header file
- *
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * Based in part on code from sash, Copyright (c) 1999 by David I. Bell 
- * Permission has been granted to redistribute this code under the GPL.
- *
- */
-#ifndef        _BB_INTERNAL_H_
-#define        _BB_INTERNAL_H_    1
-
-#include "Config.h"
-
-#ifdef DMALLOC
-#include "dmalloc.h"
-#endif
-
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <unistd.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/param.h>
-#include <mntent.h>
-#include <regex.h>
-/* for the _syscall() macros */
-#include <sys/syscall.h>
-#include <linux/unistd.h>
-
-
-/* Some useful definitions */
-#define FALSE   ((int) 1)
-#define TRUE    ((int) 0)
-
-/* for mtab.c */
-#define MTAB_GETMOUNTPT '1'
-#define MTAB_GETDEVICE  '2'
-
-#define BUF_SIZE        8192
-#define EXPAND_ALLOC    1024
-
-
-#define isBlank(ch)     (((ch) == ' ') || ((ch) == '\t'))
-#define isDecimal(ch)   (((ch) >= '0') && ((ch) <= '9'))
-#define isOctal(ch)     (((ch) >= '0') && ((ch) <= '7'))
-#define isWildCard(ch)  (((ch) == '*') || ((ch) == '?') || ((ch) == '['))
-
-/* Macros for min/max.  */
-#ifndef MIN
-#define        MIN(a,b) (((a)<(b))?(a):(b))
-#endif
-
-#ifndef MAX
-#define        MAX(a,b) (((a)>(b))?(a):(b))
-#endif
-
-
-/* I don't like nested includes, but the string and io functions are used
- * too often
- */
-#include <stdio.h>
-#if !defined(NO_STRING_H) || defined(STDC_HEADERS)
-#  include <string.h>
-#  if !defined(STDC_HEADERS) && !defined(NO_MEMORY_H) && !defined(__GNUC__)
-#    include <memory.h>
-#  endif
-#  define memzero(s, n)     memset ((void *)(s), 0, (n))
-#else
-#  include <strings.h>
-#  define strchr            index
-#  define strrchr           rindex
-#  define memcpy(d, s, n)   bcopy((s), (d), (n))
-#  define memcmp(s1, s2, n) bcmp((s1), (s2), (n))
-#  define memzero(s, n)     bzero((s), (n))
-#endif
-
-
-enum Location {
-       _BB_DIR_ROOT = 0,
-       _BB_DIR_BIN,
-       _BB_DIR_SBIN,
-       _BB_DIR_USR_BIN,
-       _BB_DIR_USR_SBIN
-};
-
-struct BB_applet {
-       const   char*   name;
-       int     (*main)(int argc, char** argv);
-       enum    Location        location;
-       const   char*   usage;
-};
-/* From busybox.c */
-extern const struct BB_applet applets[];
-
-extern int ar_main(int argc, char **argv);
-extern int basename_main(int argc, char **argv);
-extern int bogomips_main(int argc, char **argv);
-extern int busybox_main(int argc, char** argv);
-extern int cat_main(int argc, char** argv);
-extern int chmod_chown_chgrp_main(int argc, char** argv);
-extern int chroot_main(int argc, char** argv);
-extern int chvt_main(int argc, char** argv);
-extern int clear_main(int argc, char** argv);
-extern int cp_mv_main(int argc, char** argv);
-extern int cut_main(int argc, char** argv);
-extern int date_main(int argc, char** argv);
-extern int dc_main(int argc, char** argv);
-extern int dd_main(int argc, char** argv);
-extern int dirname_main(int argc, char** argv);
-extern int deallocvt_main(int argc, char** argv);
-extern int df_main(int argc, char** argv);
-extern int dmesg_main(int argc, char** argv);
-extern int dos2unix_main(int argc, char** argv);
-extern int du_main(int argc, char** argv);
-extern int dumpkmap_main(int argc, char** argv);
-extern int dutmp_main(int argc, char** argv);
-extern int echo_main(int argc, char** argv);
-extern int expr_main(int argc, char** argv);
-extern int false_main(int argc, char** argv);
-extern int fbset_main(int argc, char** argv);
-extern int fdisk_main(int argc, char** argv);
-extern int fdflush_main(int argc, char **argv);
-extern int fsck_minix_main(int argc, char **argv);
-extern int find_main(int argc, char** argv);
-extern int free_main(int argc, char** argv);
-extern int freeramdisk_main(int argc, char** argv);
-extern int getopt_main(int argc, char** argv);
-extern int grep_main(int argc, char** argv);
-extern int gunzip_main (int argc, char** argv);
-extern int gzip_main(int argc, char** argv);
-extern int halt_main(int argc, char** argv);
-extern int head_main(int argc, char** argv);
-extern int hostid_main(int argc, char** argv);
-extern int hostname_main(int argc, char** argv);
-extern int id_main(int argc, char** argv);
-extern int init_main(int argc, char** argv);
-extern int insmod_main(int argc, char** argv);
-extern int kill_main(int argc, char** argv);
-extern int length_main(int argc, char** argv);
-extern int ln_main(int argc, char** argv);
-extern int loadacm_main(int argc, char** argv);
-extern int loadfont_main(int argc, char** argv);
-extern int loadkmap_main(int argc, char** argv);
-extern int losetup_main(int argc, char** argv);
-extern int logger_main(int argc, char **argv);
-extern int logname_main(int argc, char **argv);
-extern int ls_main(int argc, char** argv);
-extern int lsmod_main(int argc, char** argv);
-extern int makedevs_main(int argc, char** argv);
-extern int md5sum_main(int argc, char** argv);
-extern int mkdir_main(int argc, char** argv);
-extern int mkfifo_main(int argc, char **argv);
-extern int mkfs_minix_main(int argc, char **argv);
-extern int mknod_main(int argc, char** argv);
-extern int mkswap_main(int argc, char** argv);
-extern int mktemp_main(int argc, char **argv);
-extern int nc_main(int argc, char** argv);
-extern int more_main(int argc, char** argv);
-extern int mount_main(int argc, char** argv);
-extern int mt_main(int argc, char** argv);
-extern int nslookup_main(int argc, char **argv);
-extern int ping_main(int argc, char **argv);
-extern int poweroff_main(int argc, char **argv);
-extern int printf_main(int argc, char** argv);
-extern int ps_main(int argc, char** argv);
-extern int pwd_main(int argc, char** argv);
-extern int rdate_main(int argc, char** argv);
-extern int reboot_main(int argc, char** argv);
-extern int renice_main(int argc, char** argv);
-extern int reset_main(int argc, char** argv);
-extern int rm_main(int argc, char** argv);
-extern int rmdir_main(int argc, char **argv);
-extern int rmmod_main(int argc, char** argv);
-extern int sed_main(int argc, char** argv);
-extern int sfdisk_main(int argc, char** argv);
-extern int setkeycodes_main(int argc, char** argv);
-extern int shell_main(int argc, char** argv);
-extern int sleep_main(int argc, char** argv);
-extern int sort_main(int argc, char** argv);
-extern int swap_on_off_main(int argc, char** argv);
-extern int sync_main(int argc, char** argv);
-extern int syslogd_main(int argc, char **argv);
-extern int tail_main(int argc, char** argv);
-extern int tar_main(int argc, char** argv);
-extern int tee_main(int argc, char** argv);
-extern int test_main(int argc, char** argv);
-extern int telnet_main(int argc, char** argv);
-extern int touch_main(int argc, char** argv);
-extern int tr_main(int argc, char** argv);
-extern int true_main(int argc, char** argv);
-extern int tput_main(int argc, char** argv);
-extern int tryopen_main(int argc, char** argv);
-extern int tty_main(int argc, char** argv);
-extern int umount_main(int argc, char** argv);
-extern int uname_main(int argc, char** argv);
-extern int uniq_main(int argc, char** argv);
-extern int unix2dos_main(int argc, char** argv);
-extern int unrpm_main(int argc, char** argv);
-extern int update_main(int argc, char** argv);
-extern int uptime_main(int argc, char** argv);
-extern int usleep_main(int argc, char** argv);
-extern int uuencode_main(int argc, char** argv);
-extern int uudecode_main(int argc, char** argv);
-extern int wc_main(int argc, char** argv);
-extern int wget_main(int argc, char** argv);
-extern int which_main(int argc, char** argv);
-extern int whoami_main(int argc, char** argv);
-extern int xargs_main(int argc, char** argv);
-extern int yes_main(int argc, char** argv);
-
-extern const char ar_usage[];
-extern const char basename_usage[];
-extern const char cat_usage[];
-extern const char chgrp_usage[];
-extern const char chmod_usage[];
-extern const char chown_usage[];
-extern const char chroot_usage[];
-extern const char chvt_usage[];
-extern const char clear_usage[];
-extern const char cp_usage[];
-extern const char cut_usage[];
-extern const char date_usage[];
-extern const char dc_usage[];
-extern const char dd_usage[];
-extern const char deallocvt_usage[];
-extern const char df_usage[];
-extern const char dirname_usage[];
-extern const char dmesg_usage[];
-extern const char dos2unix_usage[];
-extern const char du_usage[];
-extern const char dumpkmap_usage[];
-extern const char dutmp_usage[];
-extern const char echo_usage[];
-extern const char expr_usage[];
-extern const char false_usage[];
-extern const char fdflush_usage[];
-extern const char find_usage[];
-extern const char free_usage[];
-extern const char freeramdisk_usage[];
-extern const char fsck_minix_usage[];
-extern const char grep_usage[];
-extern const char gunzip_usage[];
-extern const char gzip_usage[];
-extern const char halt_usage[];
-extern const char head_usage[];
-extern const char hostid_usage[];
-extern const char hostname_usage[];
-extern const char id_usage[];
-extern const char insmod_usage[];
-extern const char kill_usage[];
-extern const char killall_usage[];
-extern const char length_usage[];
-extern const char ln_usage[];
-extern const char loadacm_usage[];
-extern const char loadfont_usage[];
-extern const char loadkmap_usage[];
-extern const char logger_usage[];
-extern const char logname_usage[];
-extern const char ls_usage[];
-extern const char lsmod_usage[];
-extern const char makedevs_usage[];
-extern const char md5sum_usage[];
-extern const char mkdir_usage[];
-extern const char mkfifo_usage[];
-extern const char mkfs_minix_usage[];
-extern const char mknod_usage[];
-extern const char mkswap_usage[];
-extern const char mktemp_usage[];
-extern const char more_usage[];
-extern const char mount_usage[]; 
-extern const char mt_usage[];
-extern const char mv_usage[];
-extern const char nc_usage[];
-extern const char nslookup_usage[];
-extern const char ping_usage[];
-extern const char poweroff_usage[];
-extern const char printf_usage[];
-extern const char ps_usage[];
-extern const char pwd_usage[];
-extern const char rdate_usage[];
-extern const char reboot_usage[];
-extern const char renice_usage[];
-extern const char reset_usage[];
-extern const char rm_usage[];
-extern const char rmdir_usage[];
-extern const char rmmod_usage[];
-extern const char sed_usage[];
-extern const char setkeycodes_usage[];
-extern const char shell_usage[];
-extern const char sleep_usage[];
-extern const char sort_usage[];
-extern const char swapoff_usage[];
-extern const char swapon_usage[];
-extern const char sync_usage[];
-extern const char syslogd_usage[];
-extern const char tail_usage[];
-extern const char tar_usage[];
-extern const char tee_usage[];
-extern const char telnet_usage[];
-extern const char test_usage[];
-extern const char touch_usage[];
-extern const char tr_usage[];
-extern const char true_usage[];
-extern const char tty_usage[];
-extern const char umount_usage[];
-extern const char uname_usage[];
-extern const char uniq_usage[];
-extern const char unix2dos_usage[];
-extern const char unrpm_usage[];
-extern const char update_usage[];
-extern const char uptime_usage[];
-extern const char usleep_usage[];
-extern const char uudecode_usage[];
-extern const char uuencode_usage[];
-extern const char wc_usage[];
-extern const char wget_usage[];
-extern const char which_usage[];
-extern const char whoami_usage[];
-extern const char xargs_usage[];
-extern const char yes_usage[];
-
-extern const char *applet_name;
-
-extern void usage(const char *usage) __attribute__ ((noreturn));
-extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
-extern void fatalError(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
-
-const char *modeString(int mode);
-const char *timeString(time_t timeVal);
-int isDirectory(const char *name, const int followLinks, struct stat *statBuf);
-int isDevice(const char *name);
-
-typedef struct ino_dev_hash_bucket_struct {
-  struct ino_dev_hash_bucket_struct *next;
-  ino_t ino;
-  dev_t dev;
-  char name[1];
-} ino_dev_hashtable_bucket_t;
-int is_in_ino_dev_hashtable(const struct stat *statbuf, char **name);
-void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name);
-void reset_ino_dev_hashtable(void);
-
-int copyFile(const char *srcName, const char *destName,
-                int setModes, int followLinks, int forceFlag);
-int copySubFile(int srcFd, int dstFd, size_t remaining);
-char *buildName(const char *dirName, const char *fileName);
-int makeString(int argc, const char **argv, char *buf, int bufLen);
-char *getChunk(int size);
-char *chunkstrdup(const char *str);
-void freeChunks(void);
-int fullWrite(int fd, const char *buf, int len);
-int fullRead(int fd, char *buf, int len);
-int recursiveAction(const char *fileName, int recurse, int followLinks, int depthFirst,
-         int (*fileAction) (const char *fileName, struct stat* statbuf, void* userData),
-         int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData),
-         void* userData);
-
-extern int createPath (const char *name, int mode);
-extern int parse_mode( const char* s, mode_t* theMode);
-
-extern int get_kernel_revision(void);
-
-extern int get_console_fd(char* tty_name);
-extern struct mntent *findMountPoint(const char *name, const char *table);
-extern void write_mtab(char* blockDevice, char* directory, 
-       char* filesystemType, long flags, char* string_flags);
-extern void erase_mtab(const char * name);
-extern void mtab_read(void);
-extern char *mtab_first(void **iter);
-extern char *mtab_next(void **iter);
-extern char *mtab_getinfo(const char *match, const char which);
-extern int check_wildcard_match(const char* text, const char* pattern);
-extern long getNum (const char *cp);
-extern pid_t* findPidByName( char* pidName);
-extern int find_real_root_device_name(char* name);
-extern char *get_line_from_file(FILE *file);
-extern void print_file(FILE *file);
-extern int print_file_by_name(char *filename);
-extern char process_escape_sequence(char **ptr);
-extern char *get_last_path_component(char *path);
-extern void xregcomp(regex_t *preg, const char *regex, int cflags);
-
-#ifndef DMALLOC 
-extern void *xmalloc (size_t size);
-extern void *xrealloc(void *old, size_t size);
-extern void *xcalloc(size_t nmemb, size_t size);
-extern char *xstrdup (const char *s);
-#endif
-extern char *xstrndup (const char *s, int n);
-
-
-/* These parse entries in /etc/passwd and /etc/group.  This is desirable
- * for BusyBox since we want to avoid using the glibc NSS stuff, which
- * increases target size and is often not needed embedded systems.  */
-extern long my_getpwnam(char *name);
-extern long my_getgrnam(char *name);
-extern void my_getpwuid(char *name, long uid);
-extern void my_getgrgid(char *group, long gid);
-extern long my_getpwnamegid(char *name);
-
-extern int device_open(char *device, int mode);
-
-#if defined BB_FEATURE_MOUNT_LOOP
-extern int del_loop(const char *device);
-extern int set_loop(const char *device, const char *file, int offset, int *loopro);
-extern char *find_unused_loop_device (void);
-#endif
-
-
-#if (__GLIBC__ < 2) && (defined BB_SYSLOGD || defined BB_INIT)
-extern int vdprintf(int d, const char *format, va_list ap);
-#endif
-
-#if defined BB_NFSMOUNT
-int nfsmount(const char *spec, const char *node, int *flags,
-            char **extra_opts, char **mount_opts, int running_bg);
-#endif
-
-#ifndef RB_POWER_OFF
-/* Stop system and switch power off if possible.  */
-#define RB_POWER_OFF   0x4321fedc
-#endif
-
-/* Include our own copy of struct sysinfo to avoid binary compatability
- * problems with Linux 2.4, which changed things.  Grumble, grumble. */
-struct sysinfo {
-       long uptime;                    /* Seconds since boot */
-       unsigned long loads[3];         /* 1, 5, and 15 minute load averages */
-       unsigned long totalram;         /* Total usable main memory size */
-       unsigned long freeram;          /* Available memory size */
-       unsigned long sharedram;        /* Amount of shared memory */
-       unsigned long bufferram;        /* Memory used by buffers */
-       unsigned long totalswap;        /* Total swap space size */
-       unsigned long freeswap;         /* swap space still available */
-       unsigned short procs;           /* Number of current processes */
-       unsigned long totalhigh;        /* Total high memory size */
-       unsigned long freehigh;         /* Available high memory size */
-       unsigned int mem_unit;          /* Memory unit size in bytes */
-       char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding: libc5 uses this.. */
-};
-extern int sysinfo (struct sysinfo* info);
-
-/* Bit map related macros -- libc5 doens't provide these... sigh.  */
-#ifndef setbit
-#define NBBY            CHAR_BIT
-#define setbit(a,i)     ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
-#define clrbit(a,i)     ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
-#define isset(a,i)      ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
-#define isclr(a,i)      (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
-#endif
-
-#endif /* _BB_INTERNAL_H_ */
diff --git a/kill.c b/kill.c
index 8f48ba0269967e23de90e37d1c3dcf688befc056..7ade8228c0a8b7ac1991bc89c82cb242a4635fa6 100644 (file)
--- a/kill.c
+++ b/kill.c
@@ -21,7 +21,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
diff --git a/lash.c b/lash.c
index b8f4072029ffcd2db1e09401d0b5db41c89b4d03..77efc6aaccc649e647da4a3a216ca1100fb037f9 100644 (file)
--- a/lash.c
+++ b/lash.c
@@ -32,7 +32,7 @@
 //#define DEBUG_SHELL
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
index cf4fb1c079dba9812e32d7d668c886c0b6b6fa2d..14d15c81c5f615ec8744dfc4d93a8996460e41c1 100644 (file)
--- a/length.c
+++ b/length.c
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
diff --git a/ln.c b/ln.c
index d5f44ea4c363e344462790af2f79d69acdf49c47..8ef8d05decaf69fe543dd62d03bbbafa125c92a0 100644 (file)
--- a/ln.c
+++ b/ln.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_not_a_directory
 #include "messages.c"
index 7f669bf0834d3eb2bd6d332d1ae8882347112fbd..826c2a33fc714bc8d878059fadf4b8036264f785 100644 (file)
--- a/loadacm.c
+++ b/loadacm.c
@@ -7,7 +7,7 @@
  * Peter Novodvorsky <petya@logic.ru>
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <memory.h>
index e93ca31868429d8795ca6691ff04a371ae98a6ff..d6eadc353e23587f8b3a94a29e99dcbfc031c05a 100644 (file)
@@ -7,7 +7,7 @@
  * Loads the console font, and possibly the corresponding screen map(s).
  * (Adapted for busybox by Matej Vela.)
  */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <string.h>
 #include <fcntl.h>
index 2321a1ededc67c80d4ce089bd799a6078f8f62e6..3f8d726e0725b580e103d08d378acfad09b54e3c 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index f4a0f82fb0e02010bbe9a84fbd3bf24b5f671677..fa1cf6d15e2c023f33e553ae00387adcf13253de 100644 (file)
--- a/logger.c
+++ b/logger.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
index a0aff42d648611b9c840e86ed10baf42e24c3f1a..09ee24928a1ba6aa8dbf0242723ea9ed0bb210f8 100644 (file)
--- a/logname.c
+++ b/logname.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int logname_main(int argc, char **argv)
diff --git a/ls.c b/ls.c
index 0e08f7683fa57b43ca2010b242957e2bb6cf1d1b..385d6b2de39737f3b6f239597f780fe5beb40b5f 100644 (file)
--- a/ls.c
+++ b/ls.c
@@ -47,7 +47,7 @@
 
 /************************************************************************/
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <stdio.h>
diff --git a/lsmod.c b/lsmod.c
index a4a0ece0ef5a9c884cd9289e4da4adf9074176d9..ab4726b9e3124f516cf733bb5ce1ea6fb359ba66 100644 (file)
--- a/lsmod.c
+++ b/lsmod.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <stddef.h>
index c9802cca7748eecf01c7d127aa401c26bf939a0a..f979871bd657cdcb10330ffe6f3e0ddbbf5ee437 100644 (file)
@@ -7,7 +7,7 @@
  * known bugs: can't deal with alpha ranges
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index a791a41b0a5a90b17fc0e68c2af435fc9942e19d..c7e5402233d1b38e6673d4e66ac6d595a7534eb1 100644 (file)
--- a/md5sum.c
+++ b/md5sum.c
@@ -20,7 +20,7 @@
 /* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu> */
 /* Hacked to work with BusyBox by Alfred M. Szmidt <ams@trillian.itslinux.org> */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <ctype.h>
@@ -66,7 +66,7 @@ extern _IO_ssize_t getline __P ((char **, size_t *, FILE *));
 #include <string.h>
 #include <endian.h>
 
-#include "internal.h"
+#include "busybox.h"
 //----------------------------------------------------------------------------
 //--------md5.h
 //----------------------------------------------------------------------------
index f7a772cbd8a96fadf88c1b42fdfefc9f6718639e..81fd9c75c4e4ce96886afee458f7995b665ef5b1 100644 (file)
@@ -36,7 +36,7 @@
 //Then just use the string memory_exhausted when it is needed.
 //
 
-#include "internal.h"
+#include "busybox.h"
 #ifndef _BB_MESSAGES_C
 #define _BB_MESSAGES_C
 
index fac48e895a73da16eb00059aef05c08e7c6a5f4d..48aa830d6117ffb676c00be3910ae79f05afd5ca 100644 (file)
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
index ec10941d01d44567b3c9ab15a58309c83ee523d6..cf5f1cff802871be7a0710cf8be14f6534f39b23 100644 (file)
@@ -12,7 +12,7 @@
  * Erik Andersen <andersen@lineo.com>
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/types.h>
 #include <fcntl.h>
 
index c9802cca7748eecf01c7d127aa401c26bf939a0a..f979871bd657cdcb10330ffe6f3e0ddbbf5ee437 100644 (file)
@@ -7,7 +7,7 @@
  * known bugs: can't deal with alpha ranges
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 2ec078503e250a3510504031181c8ad5694fe1bc..62ca870c5a2f91e9b49185da05be4bde72e56a2e 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 
index e77f58a6ab852ba58a5b8376dc7b77d928399f5f..6acae4ea1f846bcffd11f92cec56fc2c2a54e149 100644 (file)
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/mtio.h>
 #include <sys/fcntl.h>
index 3f3d68b8721c75dd3f4c026074474012efde4d16..e9f4969135efa53679316e2224567390f22e874b 100644 (file)
@@ -28,7 +28,7 @@
  * earlier) kernel. 2.2.x and higher flush filesystem buffers automatically.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/param.h>
 #include <sys/syslog.h>
 #include <unistd.h> /* for getopt() */
diff --git a/mkdir.c b/mkdir.c
index f824cdcb671bb9bc5804d52a9b4a040b63b51b70..04310e4c78a3e90b10f4f0700f6d6aaf7b73e2e2 100644 (file)
--- a/mkdir.c
+++ b/mkdir.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #define bb_need_name_too_long
 #define BB_DECLARE_EXTERN
 #include "messages.c"
index 5d4126ac07008a824c9c44d583e764207c9f1086..5e1bc1a78fc10bbbee448e94931d6da9e70a6871 100644 (file)
--- a/mkfifo.c
+++ b/mkfifo.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 #include <errno.h>
index fafcc230e14bdf44b269492d3d76ceae49c0ba49..15cf531f00c0a2be15f5792756d52c9dbb30ad59 100644 (file)
@@ -62,7 +62,7 @@
  *     removed getopt based parser and added a hand rolled one.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <time.h>
 #include <unistd.h>
diff --git a/mknod.c b/mknod.c
index b815aa1984b221361250daf5ec8360406107e342..ecb0e4780643f33511e6a8aed13de3bef82e865a 100644 (file)
--- a/mknod.c
+++ b/mknod.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <sys/types.h>
index 70028dc2ec392fc59240342605c909998f1f4a35..8a9767cca5985436790b8072f8b84030f07941bc 100644 (file)
--- a/mkswap.c
+++ b/mkswap.c
@@ -35,7 +35,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
index 2ec078503e250a3510504031181c8ad5694fe1bc..62ca870c5a2f91e9b49185da05be4bde72e56a2e 100644 (file)
--- a/mktemp.c
+++ b/mktemp.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 
index 136f9f06205208af3a36eb700e985e95e31a55c1..0c81af6f03e62db0085197ff89c0e4e3ad27ddc6 100644 (file)
@@ -36,7 +36,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <stddef.h>
@@ -77,7 +77,7 @@
 #ifndef MODUTILS_MODULE_H
 #define MODUTILS_MODULE_H 1
 
-#ident "$Id: insmod.c,v 1.24 2000/09/24 03:44:29 andersen Exp $"
+#ident "$Id: insmod.c,v 1.25 2000/09/25 21:45:58 andersen Exp $"
 
 /* This file contains the structures used by the 2.0 and 2.1 kernels.
    We do not use the kernel headers directly because we do not wish
@@ -283,7 +283,7 @@ int delete_module(const char *);
 #ifndef MODUTILS_OBJ_H
 #define MODUTILS_OBJ_H 1
 
-#ident "$Id: insmod.c,v 1.24 2000/09/24 03:44:29 andersen Exp $"
+#ident "$Id: insmod.c,v 1.25 2000/09/25 21:45:58 andersen Exp $"
 
 /* The relocatable object is manipulated using elfin types.  */
 
index a4a0ece0ef5a9c884cd9289e4da4adf9074176d9..ab4726b9e3124f516cf733bb5ce1ea6fb359ba66 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <stddef.h>
index 67b1084fbf1293b7adff3dc45769dd071acb5818..dd293523d675b04ed6a9662b36ebfeefe8594023 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
diff --git a/more.c b/more.c
index 45b7c1274aa65f4f59f583c0ee5aa674dd937ad9..caabc44e21aa4aa592b226b0192c5b32cf35a276 100644 (file)
--- a/more.c
+++ b/more.c
@@ -25,7 +25,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <fcntl.h>
 #include <signal.h>
diff --git a/mount.c b/mount.c
index 598b650f917822f68c4665c9cc271fd6b2117f90..8b115c9f59db32503668a580fc0c99e0f3c7e7ea 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -43,7 +43,7 @@
  *     
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <unistd.h>
 #include <errno.h>
diff --git a/mt.c b/mt.c
index e77f58a6ab852ba58a5b8376dc7b77d928399f5f..6acae4ea1f846bcffd11f92cec56fc2c2a54e149 100644 (file)
--- a/mt.c
+++ b/mt.c
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/mtio.h>
 #include <sys/fcntl.h>
diff --git a/mtab.c b/mtab.c
index 27489cfd4ba8e46732c99d8e03df0bee461a6be9..8984d88227078d7170fa2164036013ec595db385 100644 (file)
--- a/mtab.c
+++ b/mtab.c
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <unistd.h>
 #include <errno.h>
diff --git a/nc.c b/nc.c
index a544f32fc7488c662fa356d73373d3df55bf0135..fcacb0c45b45231f634fdc6317475dadf2a6e668 100644 (file)
--- a/nc.c
+++ b/nc.c
@@ -25,7 +25,7 @@
     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 77b545dedbae65b5a4a16f48650f33d05ee34a11..4320a968c364e1dfd9f838b2449f6289c71188b6 100644 (file)
@@ -1,6 +1,6 @@
 /* vi: set sw=4 ts=4: */
 /*
- * $Id: hostname.c,v 1.12 2000/07/16 20:57:15 kraai Exp $
+ * $Id: hostname.c,v 1.13 2000/09/25 21:45:57 andersen Exp $
  * Mini hostname implementation for busybox
  *
  * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -23,7 +23,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <errno.h>
 #include <arpa/inet.h>
 #include <netdb.h>
index a544f32fc7488c662fa356d73373d3df55bf0135..fcacb0c45b45231f634fdc6317475dadf2a6e668 100644 (file)
@@ -25,7 +25,7 @@
     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 */
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 10d36b2d10bf867d116e6563c93524e9cc3519b0..acb3e3bb2718dd58dde41c688dda785d2eb3359a 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <ctype.h>
 #include <errno.h>
 #include <stdio.h>
@@ -170,4 +170,4 @@ int nslookup_main(int argc, char **argv)
        return( TRUE);
 }
 
-/* $Id: nslookup.c,v 1.11 2000/07/16 20:57:15 kraai Exp $ */
+/* $Id: nslookup.c,v 1.12 2000/09/25 21:45:58 andersen Exp $ */
index f3ce6fb80b60f82db2b7b448a2d0b1419969fc90..70ea0f1961615b3f680306461d44322e545314f5 100644 (file)
@@ -1,6 +1,6 @@
 /* vi: set sw=4 ts=4: */
 /*
- * $Id: ping.c,v 1.24 2000/09/20 04:33:30 kraai Exp $
+ * $Id: ping.c,v 1.25 2000/09/25 21:45:58 andersen Exp $
  * Mini ping implementation for busybox
  *
  * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -31,7 +31,7 @@
  * Original copyright notice is retained at the end of this file.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/file.h>
index cf55de6af8de27536e556301ea6ce225ef8de5e4..bfa964460908af6793e55939bf99d2163cee48b8 100644 (file)
@@ -31,7 +31,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <termios.h>
 #include <unistd.h>
 #include <errno.h>
index c06e76d9081cdace349564c12ad9c62cdcce7f1f..58801ee47885115e4aeeab24859ebe9312c9584d 100644 (file)
@@ -7,7 +7,7 @@
  * <chip@laserlink.net>
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 628772b1bdd6b233e5a31675a22191a7eead7878..abae19afe241cab3f97a2715dac474bda5e70353 100644 (file)
@@ -33,7 +33,7 @@
  * nfsmount.c,v 1.1.1.1 1993/11/18 08:40:51 jrs Exp
  */
 
-#include "internal.h"
+#include "busybox.h"
 #undef FALSE
 #undef TRUE
 #include <unistd.h>
index 10d36b2d10bf867d116e6563c93524e9cc3519b0..acb3e3bb2718dd58dde41c688dda785d2eb3359a 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <ctype.h>
 #include <errno.h>
 #include <stdio.h>
@@ -170,4 +170,4 @@ int nslookup_main(int argc, char **argv)
        return( TRUE);
 }
 
-/* $Id: nslookup.c,v 1.11 2000/07/16 20:57:15 kraai Exp $ */
+/* $Id: nslookup.c,v 1.12 2000/09/25 21:45:58 andersen Exp $ */
diff --git a/ping.c b/ping.c
index f3ce6fb80b60f82db2b7b448a2d0b1419969fc90..70ea0f1961615b3f680306461d44322e545314f5 100644 (file)
--- a/ping.c
+++ b/ping.c
@@ -1,6 +1,6 @@
 /* vi: set sw=4 ts=4: */
 /*
- * $Id: ping.c,v 1.24 2000/09/20 04:33:30 kraai Exp $
+ * $Id: ping.c,v 1.25 2000/09/25 21:45:58 andersen Exp $
  * Mini ping implementation for busybox
  *
  * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -31,7 +31,7 @@
  * Original copyright notice is retained at the end of this file.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/file.h>
index 126a0fb9496e81fc08c8079127a7bc7a2714f0fb..3101a20dc06861b92e0732b77d447b193da3ca24 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <signal.h>
 
 extern int poweroff_main(int argc, char **argv)
index 94b809348d753d3c84d2baaba0c160b57db1aeb1..832ca13d64c3460448722b19f0f34615f01bbd57 100644 (file)
--- a/printf.c
+++ b/printf.c
@@ -47,7 +47,7 @@
 
 //   19990508 Busy Boxed! Dave Cinege
 
-#include "internal.h"
+#include "busybox.h"
 #include <unistd.h>
 #include <stdio.h>
 #include <sys/types.h>
index d8c3f0b919dce48f5eb94a198a2057394ef98141..a33fa9a596c4d3b982b5a5df7dfe6e5f5939b7ff 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 
index 8f48ba0269967e23de90e37d1c3dcf688befc056..7ade8228c0a8b7ac1991bc89c82cb242a4635fa6 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
index a326bc546dc83d678931bdc2734aff1d074b8624..df321612a57924f5f6f95620c4e02c8a2acca820 100644 (file)
@@ -28,7 +28,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <dirent.h>
index af7ce94ca9713974f4eb99d4e30fae1a13d74125..d79a64d1abe07c870e911e4df5311629b6a8d565 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <sys/time.h>
index efdbccf00e87f494f02c4d6a2d50b799af3e01d6..fe4e48cd6106f289264eafa8170232bf67fb3b96 100644 (file)
@@ -28,7 +28,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <time.h>
 #include <errno.h>
diff --git a/ps.c b/ps.c
index a326bc546dc83d678931bdc2734aff1d074b8624..df321612a57924f5f6f95620c4e02c8a2acca820 100644 (file)
--- a/ps.c
+++ b/ps.c
@@ -28,7 +28,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <dirent.h>
diff --git a/pwd.c b/pwd.c
index f0c923b7b3cc35b1f777928feb30bdeba20a8fdc..c9de7778eec0765c75a1da43a1d2e4a553b560b9 100644 (file)
--- a/pwd.c
+++ b/pwd.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <dirent.h>
 #include <errno.h>
diff --git a/rdate.c b/rdate.c
index 20536d24b5171e30e986bdf5337bb25536c06273..915c4bdd4cff3f10de2cbe561709856da6ab9670 100644 (file)
--- a/rdate.c
+++ b/rdate.c
@@ -21,7 +21,7 @@
  *
 */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #include "messages.c"
 #include <sys/time.h>
index bde8dbd7750d7dc1511f80c9f1ed141e94a81fce..354286d4764e086672715a8efa5c93eeb9bce3d7 100644 (file)
--- a/reboot.c
+++ b/reboot.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <signal.h>
 
 extern int reboot_main(int argc, char **argv)
index af7ce94ca9713974f4eb99d4e30fae1a13d74125..d79a64d1abe07c870e911e4df5311629b6a8d565 100644 (file)
--- a/renice.c
+++ b/renice.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <sys/time.h>
diff --git a/reset.c b/reset.c
index 6c4ae35ae1f997fa4574ff348e0f686201b3fbdd..8e2c491e2a8aad1a184f9a792fc42a230fb6c8ef 100644 (file)
--- a/reset.c
+++ b/reset.c
@@ -23,7 +23,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int reset_main(int argc, char **argv)
diff --git a/rm.c b/rm.c
index c93a94ce10b87a5ad021ac2437049571af556119..4f97cad23e505aa731f22bb4ad34b7854d754731 100644 (file)
--- a/rm.c
+++ b/rm.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <time.h>
 #include <utime.h>
diff --git a/rmdir.c b/rmdir.c
index 500890e4013b23f9348cd8d77c2329ac46238dbf..14ebf92c5263184d71d4c494c2cc1a9f234de818 100644 (file)
--- a/rmdir.c
+++ b/rmdir.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 
diff --git a/rmmod.c b/rmmod.c
index 67b1084fbf1293b7adff3dc45769dd071acb5818..dd293523d675b04ed6a9662b36ebfeefe8594023 100644 (file)
--- a/rmmod.c
+++ b/rmmod.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
diff --git a/sed.c b/sed.c
index 0e0d7f58c46e5f4d430828d3562bfe36c7e4f238..cb3f1bbf15558d849e66bc4130c6dd8a4ad40233 100644 (file)
--- a/sed.c
+++ b/sed.c
@@ -49,7 +49,7 @@
 #include <string.h> /* for strdup() */
 #include <errno.h>
 #include <ctype.h> /* for isspace() */
-#include "internal.h"
+#include "busybox.h"
 
 #define bb_need_full_version
 #define BB_DECLARE_EXTERN
index 284ffa194b70518672167e51bb34b6dada80ac6c..63c1063330fb70e1d2c1a70cb6760426b6be8d2c 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
diff --git a/sh.c b/sh.c
index b8f4072029ffcd2db1e09401d0b5db41c89b4d03..77efc6aaccc649e647da4a3a216ca1100fb037f9 100644 (file)
--- a/sh.c
+++ b/sh.c
@@ -32,7 +32,7 @@
 //#define DEBUG_SHELL
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
index 04abc938c3cd6d5f42f717e8c9fb9b94a8968865..af29b059aabf9e63d4a8cf8ffaa89c5a9a7c2492 100644 (file)
@@ -31,7 +31,7 @@
    terminal width. (more then one line.) However, history will.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #ifdef BB_FEATURE_SH_COMMAND_EDITING
 
 #include <stdio.h>
index b8f4072029ffcd2db1e09401d0b5db41c89b4d03..77efc6aaccc649e647da4a3a216ca1100fb037f9 100644 (file)
@@ -32,7 +32,7 @@
 //#define DEBUG_SHELL
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
diff --git a/sleep.c b/sleep.c
index d6705c4c3cc5c6a280c830531aad66e79fb23b98..709e3de34b7a2527b1efe26838ba956bc2890d55 100644 (file)
--- a/sleep.c
+++ b/sleep.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int sleep_main(int argc, char **argv)
diff --git a/sort.c b/sort.c
index a74f96ad08b60b5c94f7af12bb99a5879b9fb525..3fe4c7756c0618928af2c4cd0c098f44323a5609 100644 (file)
--- a/sort.c
+++ b/sort.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/types.h>
 #include <fcntl.h>
 #include <dirent.h>
@@ -288,4 +288,4 @@ int sort_main(int argc, char **argv)
        return(0);
 }
 
-/* $Id: sort.c,v 1.21 2000/09/13 02:46:13 kraai Exp $ */
+/* $Id: sort.c,v 1.22 2000/09/25 21:45:58 andersen Exp $ */
index 6aafe51a26dde27793cd884ab75d6e43ec7ab2dd..4a1c8f93f827cd09e919793f1beaba98bbf19bcb 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/mount.h>
 #include <mntent.h>
diff --git a/sync.c b/sync.c
index 3737cb1f1822f86aebfb0421116bc048e3ed7fd2..8f101cf17a219efbe10a4c980ac6d74dd3daf17c 100644 (file)
--- a/sync.c
+++ b/sync.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int sync_main(int argc, char **argv)
index f4a0f82fb0e02010bbe9a84fbd3bf24b5f671677..fa1cf6d15e2c023f33e553ae00387adcf13253de 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
index d647866cb21e182945d0728fdfc3bb702ffca6f6..9bedc84f29a7cd71145865f86027b23d9025bc2a 100644 (file)
@@ -23,7 +23,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
index d647866cb21e182945d0728fdfc3bb702ffca6f6..9bedc84f29a7cd71145865f86027b23d9025bc2a 100644 (file)
--- a/syslogd.c
+++ b/syslogd.c
@@ -23,7 +23,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
diff --git a/tail.c b/tail.c
index dcb4f6742454c633225b097c53596acb4a4bfb88..1091d28edb4ffde0829ac490df5dfa07b878e62f 100644 (file)
--- a/tail.c
+++ b/tail.c
@@ -38,7 +38,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <getopt.h>
-#include "internal.h"
+#include "busybox.h"
 
 #define STDIN "standard input"
 #define LINES 0
diff --git a/tar.c b/tar.c
index e4bdd0a6c092a5e8fe5eaf638d915b9060a2e443..c14a6194d4544dc79304a1762bb814ffb2bd1511 100644 (file)
--- a/tar.c
+++ b/tar.c
@@ -36,7 +36,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_io_error
 #define bb_need_name_longer_then_foo
diff --git a/tee.c b/tee.c
index dc9876020b8299c7efb44e7ad967f1d294ba792d..621801336eeef1eb40978826092904c47afb73b0 100644 (file)
--- a/tee.c
+++ b/tee.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <getopt.h>
 #include <stdio.h>
 
index cf55de6af8de27536e556301ea6ce225ef8de5e4..bfa964460908af6793e55939bf99d2163cee48b8 100644 (file)
--- a/telnet.c
+++ b/telnet.c
@@ -31,7 +31,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <termios.h>
 #include <unistd.h>
 #include <errno.h>
diff --git a/test.c b/test.c
index a2bec44924f7f42c00e1f8421966f15ec57f971f..acd6947d98de1160d15ff2c6ecd71f0453076b72 100644 (file)
--- a/test.c
+++ b/test.c
@@ -31,7 +31,7 @@
  *     "This program is in the Public Domain."
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/types.h>
 #include <unistd.h>
 #include <ctype.h>
diff --git a/touch.c b/touch.c
index 464aedb551401e85ab3b44b0624390abb1ddc50e..7db6c6e3383ab2156d6c1569174a44b5cc28d3e3 100644 (file)
--- a/touch.c
+++ b/touch.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 #include <fcntl.h>
diff --git a/tr.c b/tr.c
index 004092477e9e1667bf1fd58ba94572445936fd75..54b6abc8cae0e5ef8025cfc559bca0c2f3420824 100644 (file)
--- a/tr.c
+++ b/tr.c
@@ -24,7 +24,7 @@
  * Original copyright notice is retained at the end of this file.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
index c56f5e7afe95cfcf4e7d04b034e8471e0de65205..b3b221e1f92b57b5aa9af1dbc1391fa6f3d1e2b3 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 
 
 extern int true_main(int argc, char **argv)
diff --git a/tty.c b/tty.c
index bbc051f6b6ffe8395b157a756206d8191e709ac2..6eebed9fbc3a444e62d00c8253c07949e219fb78 100644 (file)
--- a/tty.c
+++ b/tty.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 
index 6a5e4cad8bc70c5caf0af91ef7e6b251ee3c3dbc..1d9c6bb3202759f9d2002b52b0a10974e373d45e 100644 (file)
--- a/umount.c
+++ b/umount.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <mntent.h>
 #include <errno.h>
diff --git a/uname.c b/uname.c
index 55616dd19bd0ffaaa4d578a8a3238f2adc9120ef..8d9427c8649c82a50ce296e9352c39b41e534eab 100644 (file)
--- a/uname.c
+++ b/uname.c
@@ -31,7 +31,7 @@
 
 /* Busyboxed by Erik Andersen */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/utsname.h>
diff --git a/uniq.c b/uniq.c
index 016fc77806cadb534616c9e79b65233fec608438..ef38587bd2066479de1e703bcd63c2cfdf91151d 100644 (file)
--- a/uniq.c
+++ b/uniq.c
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
@@ -179,4 +179,4 @@ int uniq_main(int argc, char **argv)
        return(0);
 }
 
-/* $Id: uniq.c,v 1.13 2000/07/16 20:57:15 kraai Exp $ */
+/* $Id: uniq.c,v 1.14 2000/09/25 21:45:58 andersen Exp $ */
index c6cf81bb0df17a84d91721c095a4658268f2fead..553ad0c34834b9b2e0d9d5ed35cfb09e6029a16f 100644 (file)
@@ -22,7 +22,7 @@
   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 int unix2dos_main( int argc, char **argv ) {
diff --git a/unrpm.c b/unrpm.c
index cfcc0d1ee5a7fcc18f80247dac1d9007a9dd99f4..26989e8b6af2039d1f7b3b079ce9ce9527583ba8 100644 (file)
--- a/unrpm.c
+++ b/unrpm.c
@@ -13,7 +13,7 @@
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  */
  
-#include "internal.h" 
+#include "busybox.h" 
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
index 3f3d68b8721c75dd3f4c026074474012efde4d16..e9f4969135efa53679316e2224567390f22e874b 100644 (file)
--- a/update.c
+++ b/update.c
@@ -28,7 +28,7 @@
  * earlier) kernel. 2.2.x and higher flush filesystem buffers automatically.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <sys/param.h>
 #include <sys/syslog.h>
 #include <unistd.h> /* for getopt() */
index efdbccf00e87f494f02c4d6a2d50b799af3e01d6..fe4e48cd6106f289264eafa8170232bf67fb3b96 100644 (file)
--- a/uptime.c
+++ b/uptime.c
@@ -28,7 +28,7 @@
  */
 
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <time.h>
 #include <errno.h>
diff --git a/usage.c b/usage.c
index c4da08ad7fc8f428db123efb97f192a84ec48c73..ae6cbaa7c0a79fdc660a8311ed5943ba420e7b61 100644 (file)
--- a/usage.c
+++ b/usage.c
@@ -1,4 +1,4 @@
-#include "internal.h"
+#include "busybox.h"
 
 #if defined BB_AR
 const char ar_usage[] =
index fcdf3bbf66c7f53ea851874e48245cb35001ac5b..69790ef090bc6efc6882b4633c5e14bb341fc241 100644 (file)
--- a/usleep.c
+++ b/usleep.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <unistd.h>
 
index 99d053a72640e5fe887eb31fe17cae699ec5af7a..88b5d13930bb3dcd232ffa63fbdb65ab263a2b2a 100644 (file)
@@ -15,7 +15,7 @@
  * Support, replaced getopt, added some gotos for redundant stuff.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 
index 235338c55711669bbe2b7bb961dc13f9901314b4..32325a7cfbe880155533bbd55a708054f11e745d 100644 (file)
@@ -24,7 +24,7 @@
  *     Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 6bc3e7d66cc05543f5dbd16c18c38c9ac440aa7f..6633e12128a922b8d488b5c71c13371fc813226b 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
index 64915b313251dcdba33e6ccc094a1287d6bdbe28..22fc3e643ee61f5c5928791c772a27aa8e386b57 100644 (file)
@@ -27,7 +27,7 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <errno.h>
-#include "internal.h"
+#include "busybox.h"
 
 
 /* From linux/fs.h */
index 04c2b3317a403d0a8a69b2093cfe503fc88374c1..ef65e3073b7b0a718a7eee2160c468832691064e 100644 (file)
@@ -86,7 +86,7 @@
  * enforced (but it's not much fun on a character device :-). 
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
index fb75790d9a102020b9f82699a6593b352b59b0bf..919ae6c68f3e339e08b7877410eda51269cde003 100644 (file)
@@ -49,7 +49,7 @@
 #include <ctype.h>
 #include <getopt.h>
 
-#include "internal.h"
+#include "busybox.h"
 
 /* NON_OPT is the code that is returned when a non-option is found in '+'
    mode */
index fafcc230e14bdf44b269492d3d76ceae49c0ba49..15cf531f00c0a2be15f5792756d52c9dbb30ad59 100644 (file)
@@ -62,7 +62,7 @@
  *     removed getopt based parser and added a hand rolled one.
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <time.h>
 #include <unistd.h>
index 70028dc2ec392fc59240342605c909998f1f4a35..8a9767cca5985436790b8072f8b84030f07941bc 100644 (file)
@@ -35,7 +35,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
index 45b7c1274aa65f4f59f583c0ee5aa674dd937ad9..caabc44e21aa4aa592b226b0192c5b32cf35a276 100644 (file)
@@ -25,7 +25,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <fcntl.h>
 #include <signal.h>
index 598b650f917822f68c4665c9cc271fd6b2117f90..8b115c9f59db32503668a580fc0c99e0f3c7e7ea 100644 (file)
@@ -43,7 +43,7 @@
  *     
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <unistd.h>
 #include <errno.h>
index 628772b1bdd6b233e5a31675a22191a7eead7878..abae19afe241cab3f97a2715dac474bda5e70353 100644 (file)
@@ -33,7 +33,7 @@
  * nfsmount.c,v 1.1.1.1 1993/11/18 08:40:51 jrs Exp
  */
 
-#include "internal.h"
+#include "busybox.h"
 #undef FALSE
 #undef TRUE
 #include <unistd.h>
index 20536d24b5171e30e986bdf5337bb25536c06273..915c4bdd4cff3f10de2cbe561709856da6ab9670 100644 (file)
@@ -21,7 +21,7 @@
  *
 */
 
-#include "internal.h"
+#include "busybox.h"
 #define BB_DECLARE_EXTERN
 #include "messages.c"
 #include <sys/time.h>
index 6aafe51a26dde27793cd884ab75d6e43ec7ab2dd..4a1c8f93f827cd09e919793f1beaba98bbf19bcb 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <sys/mount.h>
 #include <mntent.h>
index 6a5e4cad8bc70c5caf0af91ef7e6b251ee3c3dbc..1d9c6bb3202759f9d2002b52b0a10974e373d45e 100644 (file)
@@ -22,7 +22,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <mntent.h>
 #include <errno.h>
index b014f2a597b1bf063a3ada8e2ef82e1451bbac37..f7dda7917d08db50c169f76ec041a623597efb0b 100644 (file)
--- a/utility.c
+++ b/utility.c
@@ -25,7 +25,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #if defined (BB_CHMOD_CHOWN_CHGRP) \
  || defined (BB_CP_MV)            \
  || defined (BB_FIND)             \
index 90bef9238f103c885ad85e446fa12ee54f761d5c..965ded5b50d862085d7a6da8cba3cfb79c0fe0da 100644 (file)
@@ -51,7 +51,7 @@
 
 /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93.  */
 
-#include "internal.h"
+#include "busybox.h"
 
 #include <stdio.h>
 #include <errno.h>
index 1433c7f3b4dd00bb8eb6b80fddfb007943a487f1..5835bd22a82d0109bb6d2bc2bb23b82e8970ed11 100644 (file)
@@ -52,7 +52,7 @@
 /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93.  */
 /* Hacked to work with BusyBox by Alfred M. Szmidt */
 
-#include "internal.h"
+#include "busybox.h"
 
 #include <stdio.h>
 #include <errno.h>
diff --git a/wc.c b/wc.c
index ca5b3680a70967b8b938faeef6e3d55b201049b3..b1c9a51cdfec21d2b57f44ee848faf4a7a215223 100644 (file)
--- a/wc.c
+++ b/wc.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <getopt.h>
 
diff --git a/wget.c b/wget.c
index c06e76d9081cdace349564c12ad9c62cdcce7f1f..58801ee47885115e4aeeab24859ebe9312c9584d 100644 (file)
--- a/wget.c
+++ b/wget.c
@@ -7,7 +7,7 @@
  * <chip@laserlink.net>
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
diff --git a/which.c b/which.c
index 7df2557a316208422cf4857b74fae5f2c5a15f65..da8801fabe6789865dd5cfc3265a683fcc8a7cbb 100644 (file)
--- a/which.c
+++ b/which.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int which_main(int argc, char **argv)
index 84b27fe58ec472f0b63f9f766fe77bf6b38e6243..f3c21b3f5a89886b49fee8ca2d219afa2fe81774 100644 (file)
--- a/whoami.c
+++ b/whoami.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <pwd.h>
 
diff --git a/xargs.c b/xargs.c
index b8ac31aa004829ebe54d7fe327ad3cbbe3f17ecb..4a3fe3c6094722f890c28382c35541e9e7a99ce1 100644 (file)
--- a/xargs.c
+++ b/xargs.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
diff --git a/yes.c b/yes.c
index 11fa537a0488a3238d086b543dba142f6e5f61a9..46873f3f969693ce01015ce72cb8db0b74d01365 100644 (file)
--- a/yes.c
+++ b/yes.c
@@ -20,7 +20,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 
 extern int yes_main(int argc, char **argv)