OSDN Git Service

usage.c: remove reference to busybox.h
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 26 May 2007 19:00:18 +0000 (19:00 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 26 May 2007 19:00:18 +0000 (19:00 -0000)
*: s/include "busybox.h"/include "libbb.h"

251 files changed:
applets/usage.c
archival/ar.c
archival/bbunzip.c
archival/cpio.c
archival/dpkg.c
archival/dpkg_deb.c
archival/gzip.c
archival/rpm.c
archival/rpm2cpio.c
archival/tar.c
archival/unzip.c
console-tools/chvt.c
console-tools/clear.c
console-tools/deallocvt.c
console-tools/dumpkmap.c
console-tools/loadfont.c
console-tools/loadkmap.c
console-tools/openvt.c
console-tools/reset.c
console-tools/resize.c
console-tools/setconsole.c
console-tools/setkeycodes.c
console-tools/setlogcons.c
coreutils/basename.c
coreutils/cal.c
coreutils/cat.c
coreutils/catv.c
coreutils/chgrp.c
coreutils/chmod.c
coreutils/chown.c
coreutils/chroot.c
coreutils/cksum.c
coreutils/cmp.c
coreutils/comm.c
coreutils/cp.c
coreutils/cut.c
coreutils/date.c
coreutils/dd.c
coreutils/df.c
coreutils/diff.c
coreutils/dirname.c
coreutils/dos2unix.c
coreutils/du.c
coreutils/echo.c
coreutils/env.c
coreutils/expr.c
coreutils/false.c
coreutils/fold.c
coreutils/head.c
coreutils/hostid.c
coreutils/id.c
coreutils/install.c
coreutils/length.c
coreutils/ln.c
coreutils/logname.c
coreutils/ls.c
coreutils/md5_sha1_sum.c
coreutils/mkdir.c
coreutils/mkfifo.c
coreutils/mknod.c
coreutils/mv.c
coreutils/nice.c
coreutils/nohup.c
coreutils/od.c
coreutils/od_bloaty.c
coreutils/printenv.c
coreutils/printf.c
coreutils/pwd.c
coreutils/realpath.c
coreutils/rm.c
coreutils/rmdir.c
coreutils/seq.c
coreutils/sleep.c
coreutils/sort.c
coreutils/split.c
coreutils/stat.c
coreutils/stty.c
coreutils/sum.c
coreutils/sync.c
coreutils/tail.c
coreutils/tee.c
coreutils/test.c
coreutils/touch.c
coreutils/tr.c
coreutils/true.c
coreutils/tty.c
coreutils/uname.c
coreutils/uniq.c
coreutils/usleep.c
coreutils/uudecode.c
coreutils/uuencode.c
coreutils/watch.c
coreutils/wc.c
coreutils/who.c
coreutils/whoami.c
coreutils/yes.c
debianutils/mktemp.c
debianutils/pipe_progress.c
debianutils/readlink.c
debianutils/run_parts.c
debianutils/start_stop_daemon.c
debianutils/which.c
docs/new-applet-HOWTO.txt
e2fsprogs/chattr.c
e2fsprogs/fsck.c
e2fsprogs/lsattr.c
e2fsprogs/old_e2fsprogs/e2fsck.h
e2fsprogs/old_e2fsprogs/e2p/e2p.h
e2fsprogs/old_e2fsprogs/fsck.c
e2fsprogs/old_e2fsprogs/tune2fs.c
editors/awk.c
editors/ed.c
editors/patch.c
editors/sed.c
editors/vi.c
findutils/find.c
findutils/grep.c
findutils/xargs.c
init/halt.c
init/init.c
init/mesg.c
ipsvd/ipsvd_perhost.c
ipsvd/tcpudp.c
libbb/getopt32.c
libbb/lineedit.c
libbb/selinux_common.c
libbb/xfuncs.c
libpwdgrp/uidgid_get.c
loginutils/addgroup.c
loginutils/adduser.c
loginutils/cryptpw.c
loginutils/deluser.c
loginutils/getty.c
loginutils/login.c
loginutils/passwd.c
loginutils/su.c
loginutils/sulogin.c
loginutils/vlock.c
miscutils/adjtimex.c
miscutils/bbconfig.c
miscutils/chrt.c
miscutils/crond.c
miscutils/crontab.c
miscutils/dc.c
miscutils/devfsd.c
miscutils/eject.c
miscutils/hdparm.c
miscutils/last.c
miscutils/less.c
miscutils/makedevs.c
miscutils/mountpoint.c
miscutils/mt.c
miscutils/nmeter.c
miscutils/raidautorun.c
miscutils/readahead.c
miscutils/runlevel.c
miscutils/rx.c
miscutils/setsid.c
miscutils/strings.c
miscutils/taskset.c
miscutils/time.c
miscutils/watchdog.c
modutils/insmod.c
modutils/lsmod.c
modutils/modprobe.c
modutils/rmmod.c
networking/arp.c
networking/arping.c
networking/dnsd.c
networking/ether-wake.c
networking/ftpgetput.c
networking/hostname.c
networking/httpd.c
networking/ifconfig.c
networking/ifupdown.c
networking/inetd.c
networking/interface.c
networking/ip.c
networking/ipcalc.c
networking/isrv.c
networking/isrv_identd.c
networking/libiproute/ip_common.h
networking/nameif.c
networking/nc.c
networking/nc_bloaty.c
networking/netstat.c
networking/nslookup.c
networking/ping.c
networking/route.c
networking/telnet.c
networking/telnetd.c
networking/tftp.c
networking/traceroute.c
networking/udhcp/common.h
networking/vconfig.c
networking/wget.c
networking/zcip.c
procps/free.c
procps/fuser.c
procps/kill.c
procps/pidof.c
procps/ps.c
procps/renice.c
procps/sysctl.c
procps/top.c
procps/uptime.c
runit/chpst.c
runit/runsv.c
runit/runsvdir.c
runit/sv.c
runit/svlogd.c
selinux/chcon.c
selinux/getenforce.c
selinux/getsebool.c
selinux/load_policy.c
selinux/matchpathcon.c
selinux/runcon.c
selinux/selinuxenabled.c
selinux/setenforce.c
shell/ash.c
shell/bbsh.c
shell/hush.c
shell/lash.c
sysklogd/klogd.c
sysklogd/logger.c
sysklogd/logread.c
sysklogd/syslogd.c
util-linux/dmesg.c
util-linux/fbset.c
util-linux/fdformat.c
util-linux/fdisk.c
util-linux/freeramdisk.c
util-linux/fsck_minix.c
util-linux/getopt.c
util-linux/hexdump.c
util-linux/hwclock.c
util-linux/ipcrm.c
util-linux/ipcs.c
util-linux/losetup.c
util-linux/mdev.c
util-linux/mkfs_minix.c
util-linux/mkswap.c
util-linux/more.c
util-linux/mount.c
util-linux/pivot_root.c
util-linux/rdate.c
util-linux/readprofile.c
util-linux/setarch.c
util-linux/swaponoff.c
util-linux/switch_root.c
util-linux/umount.c

index bb7ca82..f2281d6 100644 (file)
@@ -2,7 +2,6 @@
 #include <unistd.h>
 
 #include "../include/autoconf.h"
-#include "../include/busybox.h"
 
 static const char usage_messages[] = ""
 #define MAKE_USAGE
index 23d9b49..31e96de 100644 (file)
@@ -14,7 +14,7 @@
  * http://www.unix-systems.org/single_unix_specification_v2/xcu/ar.html
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "unarchive.h"
 
 static void header_verbose_list_ar(const file_header_t *file_header)
index 00cece4..83b5637 100644 (file)
@@ -5,7 +5,7 @@
  *  Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "unarchive.h"
 
 enum {
index 0113867..6d1ee16 100644 (file)
@@ -16,7 +16,7 @@
 #include <string.h>
 #include <unistd.h>
 #include "unarchive.h"
-#include "busybox.h"
+#include "libbb.h"
 
 #define CPIO_OPT_EXTRACT                       0x01
 #define CPIO_OPT_TEST                          0x02
index 7d31ad1..dcbd0d1 100644 (file)
@@ -24,7 +24,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "unarchive.h"
 
 /* note: if you vary hash_prime sizes be aware,
index fde3c33..138caff 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
-#include "busybox.h"
+#include "libbb.h"
 #include "unarchive.h"
 
 #define DPKG_DEB_OPT_CONTENTS  1
index 03b6b91..fdf2a79 100644 (file)
@@ -39,7 +39,7 @@ gzip: bogus: No such file or directory
 aa:      85.1% -- replaced with aa.gz
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 
 /* ===========================================================================
index 654a4a3..71ed32e 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "unarchive.h"
 
 #define RPM_HEADER_MAGIC        "\216\255\350"
index 307d1a0..460aeaf 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
-#include "busybox.h"
+#include "libbb.h"
 #include "unarchive.h"
 
 #define RPM_MAGIC "\355\253\356\333"
index e634cc6..4323553 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <fnmatch.h>
 #include <getopt.h>
-#include "busybox.h"
+#include "libbb.h"
 #include "unarchive.h"
 
 #if ENABLE_FEATURE_TAR_CREATE
index 8a9034f..ef58cd4 100644 (file)
@@ -24,7 +24,7 @@
  * - central directory
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "unarchive.h"
 
 #define ZIP_FILEHEADER_MAGIC           SWAP_LE32(0x04034b50)
index 5090811..e8761d5 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* From <linux/vt.h> */
 enum {
index 8e34d6d..053293c 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include "busybox.h"
+#include "libbb.h"
 
 
 int clear_main(int argc, char **argv);
index 476eefa..db52747 100644 (file)
@@ -10,7 +10,7 @@
 
 /* no options, no getopt */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* From <linux/vt.h> */
 enum { VT_DISALLOCATE = 0x5608 }; /* free memory associated to vt */
index 0c19148..f61795c 100644 (file)
@@ -8,7 +8,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* From <linux/kd.h> */
 struct kbentry {
index f691b11..88d7a04 100644 (file)
@@ -7,7 +7,7 @@
  * Loads the console font, and possibly the corresponding screen map(s).
  * (Adapted for busybox by Matej Vela.)
  */
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/kd.h>
 
 enum {
index a141435..4a726f9 100644 (file)
@@ -8,7 +8,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define BINARY_KEYMAP_MAGIC "bkeymap"
 
index 882563b..c050ba1 100644 (file)
@@ -10,7 +10,7 @@
 
 /* getopt not needed */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int openvt_main(int argc, char **argv);
 int openvt_main(int argc, char **argv)
index 03b078c..c844e15 100644 (file)
@@ -13,7 +13,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include "busybox.h"
+#include "libbb.h"
 
 int reset_main(int argc, char **argv);
 int reset_main(int argc, char **argv)
index 64f318c..52fdb26 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 /* no options, no getopt */
-#include "busybox.h"
+#include "libbb.h"
 
 #define ESC "\033"
 
index 31ee1fc..f437415 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <getopt.h>
-#include "busybox.h"
+#include "libbb.h"
 
 #if ENABLE_FEATURE_SETCONSOLE_LONG_OPTIONS
 static const struct option setconsole_long_options[] = {
index ff137d5..a0d291d 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #include <sys/ioctl.h>
-#include "busybox.h"
+#include "libbb.h"
 
 
 /* From <linux/kd.h> */
index 7b5addc..f95a653 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int setlogcons_main(int argc, char **argv);
 int setlogcons_main(int argc, char **argv)
index f4307d6..f59d7a8 100644 (file)
@@ -20,7 +20,7 @@
  * 3) Save some space by using strcmp().  Calling strncmp() here was silly.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 3d61791..ce910bc 100644 (file)
@@ -17,7 +17,7 @@
  * Major size reduction... over 50% (>1.5k) on i386.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define        THURSDAY                4               /* for reformation */
 #define        SATURDAY                6               /* 1 Jan 1 was a Saturday */
index ed3f336..64e697e 100644 (file)
@@ -10,7 +10,7 @@
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/cat.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 826e0e9..2d2229f 100644 (file)
@@ -10,7 +10,7 @@
 /* See "Cat -v considered harmful" at
  * http://cm.bell-labs.com/cm/cs/doc/84/kp.ps.gz */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int catv_main(int argc, char **argv);
 int catv_main(int argc, char **argv)
index 48014ec..90a1cfe 100644 (file)
@@ -11,7 +11,7 @@
 /* BB_AUDIT GNU defects - unsupported long options. */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/chgrp.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index aa36258..52cc40d 100644 (file)
@@ -14,7 +14,7 @@
 /* BB_AUDIT GNU defects - unsupported long options. */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/chmod.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index 71ba812..7579e17 100644 (file)
@@ -11,7 +11,7 @@
 /* BB_AUDIT GNU defects - unsupported long options. */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/chown.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index 874ee91..192daa8 100644 (file)
@@ -9,7 +9,7 @@
 
 /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int chroot_main(int argc, char **argv);
 int chroot_main(int argc, char **argv)
index 70febdf..865bea0 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int cksum_main(int argc, char **argv);
 int cksum_main(int argc, char **argv)
index 80fab0b..e5dda80 100644 (file)
@@ -21,7 +21,7 @@
  *    in the '-l' case.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 static FILE *cmp_xfopen_input(const char *filename)
 {
index 28e3982..3be6760 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define COMM_OPT_1 (1 << 0)
 #define COMM_OPT_2 (1 << 1)
index 8c09379..f98f281 100644 (file)
@@ -15,7 +15,7 @@
  * Size reduction.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "libcoreutils/coreutils.h"
 
 /* This is a NOEXEC applet. Be very careful! */
index b9ea312..084f7be 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index d2d77f4..57c826a 100644 (file)
@@ -10,7 +10,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This 'date' command supports only 2 time setting formats,
    all the GNU strftime stuff (its in libc, lets use it),
index 5aee9db..dd311d8 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include <signal.h>  /* For FEATURE_DD_SIGNAL_HANDLING */
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index 484cabb..d455d27 100644 (file)
@@ -24,7 +24,7 @@
 #include <unistd.h>
 #include <mntent.h>
 #include <sys/vfs.h>
-#include "busybox.h"
+#include "libbb.h"
 
 #ifndef CONFIG_FEATURE_HUMAN_READABLE
 static long kscale(long b, long bs)
index 09cacbd..f6b045b 100644 (file)
@@ -12,7 +12,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define FSIZE_MAX 32768
 
index 7c5484b..fd2c381 100644 (file)
@@ -10,7 +10,7 @@
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/dirname.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 04c56ac..b053a0c 100644 (file)
@@ -12,7 +12,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 enum ConvType {
        CT_UNIX2DOS = 1,
index e95f3a2..cb3e715 100644 (file)
@@ -23,7 +23,7 @@
  * 4) Fixed busybox bug #1284 involving long overflow with human_readable.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #if ENABLE_FEATURE_HUMAN_READABLE
 # if ENABLE_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
index 2de19c2..9aad2c2 100644 (file)
@@ -23,7 +23,7 @@
  *    The previous version did not allow 4-digit octals.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int bb_echo(char **argv)
 {
index 2a271f7..ad30f01 100644 (file)
  * - use xfunc_error_retval
  */
 
-#include "busybox.h"
-#include <errno.h>
 #include <getopt.h> /* struct option */
 extern char **environ;
 
+#include "libbb.h"
+
 #if ENABLE_FEATURE_ENV_LONG_OPTIONS
 static const struct option env_long_options[] = {
        { "ignore-environment", 0, NULL, 'i' },
index b6bd383..46e18d1 100644 (file)
@@ -25,7 +25,7 @@
 
 /* no getopt needed */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "xregex.h"
 
 /* The kinds of value we can have.  */
index 90d6a01..07cf9e8 100644 (file)
@@ -10,7 +10,7 @@
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/false.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 4ce52cf..d5e3a4d 100644 (file)
@@ -10,7 +10,7 @@
    Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 static unsigned long flags;
 #define FLAG_COUNT_BYTES       1
index ed1d01d..1700af2 100644 (file)
@@ -11,7 +11,7 @@
 /* BB_AUDIT GNU compatible -c, -q, and -v options in 'fancy' configuration. */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/head.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 static const char head_opts[] =
        "n:"
index e14f6ca..7d96651 100644 (file)
@@ -9,7 +9,7 @@
 
 /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 8a60419..064bd29 100644 (file)
@@ -13,7 +13,7 @@
  * -Z option support: by Yuichi Nakamura <ynakam@hitachisoft.jp>
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
index ece5b95..7f168d2 100644 (file)
@@ -9,11 +9,12 @@
  *           owner/group, will probably modify bb_make_directory(...)
  */
 
-#include "busybox.h"
-#include "libcoreutils/coreutils.h"
 #include <libgen.h>
 #include <getopt.h> /* struct option */
 
+#include "libbb.h"
+#include "libcoreutils/coreutils.h"
+
 #if ENABLE_FEATURE_INSTALL_LONG_OPTIONS
 static const struct option install_long_options[] = {
        { "directory",           0, NULL, 'd' },
index b3a9d49..a310b3b 100644 (file)
@@ -2,7 +2,7 @@
 
 /* BB_AUDIT SUSv3 N/A -- Apparently a busybox (obsolete?) extension. */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index fd4eace..93a283d 100644 (file)
@@ -11,7 +11,7 @@
 /* BB_AUDIT GNU options missing: -d, -F, -i, and -v. */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/ln.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index aba6ce3..2e628bc 100644 (file)
@@ -20,7 +20,7 @@
  * a diagnostic message and an error return.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index b9c07ad..e2ed3ee 100644 (file)
@@ -30,7 +30,7 @@
  */
 
 #include <getopt.h>
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index a3818d5..4523fa4 100644 (file)
@@ -6,7 +6,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 typedef enum { HASH_SHA1, HASH_MD5 } hash_algo_t;
 
index 5a6c9d0..60c03a1 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 #include <getopt.h> /* struct option */
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 7dcc50f..030c9d2 100644 (file)
@@ -10,7 +10,7 @@
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/mkfifo.html */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "libcoreutils/coreutils.h"
 
 int mkfifo_main(int argc, char **argv);
index 6fa6d83..415ef55 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <sys/sysmacros.h>  // For makedev
 
-#include "busybox.h"
+#include "libbb.h"
 #include "libcoreutils/coreutils.h"
 
 static const char modes_chars[] = { 'p', 'c', 'u', 'b', 0, 1, 1, 2 };
index c08d232..ad36051 100644 (file)
@@ -20,7 +20,7 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <getopt.h> /* struct option */
-#include "busybox.h"
+#include "libbb.h"
 #include "libcoreutils/coreutils.h"
 
 #if ENABLE_FEATURE_MV_LONG_OPTIONS
index 3285315..8d77ae4 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <sys/resource.h>
-#include "busybox.h"
+#include "libbb.h"
 
 int nice_main(int argc, char **argv);
 int nice_main(int argc, char **argv)
index 6a6c70e..22419b8 100644 (file)
@@ -10,7 +10,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int nohup_main(int argc, char **argv);
 int nohup_main(int argc, char **argv)
index 0de9def..00de080 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 
-#include "busybox.h"
+#include "libbb.h"
 #if ENABLE_DESKTOP
 /* This one provides -t (busybox's own build script needs it) */
 #include "od_bloaty.c"
index efdbf35..3250856 100644 (file)
@@ -49,8 +49,7 @@ diff -u -a std bbox >bbox.diff || { echo Different!; sleep 1; }
 
 */
 
-
-#include "busybox.h"
+#include "libbb.h"
 #include <getopt.h>
 
 #define assert(a) ((void)0)
index 935f52d..0e69ff2 100644 (file)
@@ -11,7 +11,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include "busybox.h"
+#include "libbb.h"
 extern char **environ;
 
 int printenv_main(int argc, char **argv);
index a2a82d2..d0cf5a6 100644 (file)
@@ -38,7 +38,7 @@
 
 //   19990508 Busy Boxed! Dave Cinege
 
-#include "busybox.h"
+#include "libbb.h"
 
 typedef void (*converter)(const char *arg, void *result);
 
index a93b8f1..73a9d5b 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index b3f7e49..7c5dc3b 100644 (file)
@@ -10,7 +10,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int realpath_main(int argc, char **argv);
 int realpath_main(int argc, char **argv)
index e29073d..cc22647 100644 (file)
@@ -15,7 +15,7 @@
  * Size reduction.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 7f32530..c1b89e4 100644 (file)
@@ -11,7 +11,7 @@
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/rmdir.html */
 
 #include <libgen.h>
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index ef884d6..050c333 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under the GPL v2, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 592005b..e9a30da 100644 (file)
@@ -18,7 +18,7 @@
  * time suffixes for seconds, minutes, hours, and days.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 06a6cbf..f41bd63 100644 (file)
@@ -12,7 +12,7 @@
  * http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index 10035e9..27f9cfd 100644 (file)
@@ -9,7 +9,7 @@
  * SUSv3 requirements:
  * http://www.opengroup.org/onlinepubs/009695399/utilities/split.html
  */
-#include "busybox.h"
+#include "libbb.h"
 
 static const struct suffix_mult split_suffices[] = {
 #if ENABLE_FEATURE_SPLIT_FANCY
index 16b8d1e..9930d84 100644 (file)
@@ -13,7 +13,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* vars to control behavior */
 #define OPT_FILESYS            (1<<0)
index 702cada..488a7f8 100644 (file)
@@ -21,7 +21,7 @@
 
    */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #ifndef _POSIX_VDISABLE
 # define _POSIX_VDISABLE ((unsigned char) 0)
index 9327ca5..5799d14 100644 (file)
@@ -13,7 +13,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 enum { SUM_BSD, PRINT_NAME, SUM_SYSV };
 
index e52ab76..d562f3f 100644 (file)
@@ -9,7 +9,7 @@
 
 /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 32df259..e0d21ed 100644 (file)
@@ -24,7 +24,7 @@
  * 7) lseek attempted when count==0 even if arg was +0 (from top)
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 static const struct suffix_mult tail_suffixes[] = {
        { "b", 512 },
index 338232c..2160141 100644 (file)
@@ -10,7 +10,7 @@
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/tee.html */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <signal.h>
 
 int tee_main(int argc, char **argv);
index 70b392f..df8387b 100644 (file)
@@ -20,7 +20,7 @@
  *     "This program is in the Public Domain."
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <setjmp.h>
 
 /* This is a NOEXEC applet. Be very careful! */
index 5f81b23..7b82339 100644 (file)
@@ -17,7 +17,7 @@
  * Also, exiting on a failure was a bug.  All args should be processed.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 5d3dd4c..7e89e9a 100644 (file)
@@ -18,7 +18,7 @@
 /* http://www.opengroup.org/onlinepubs/009695399/utilities/tr.html
  * TODO: xdigit, graph, print
  */
-#include "busybox.h"
+#include "libbb.h"
 
 #define ASCII 0377
 
index eee6213..9dcd69a 100644 (file)
@@ -10,7 +10,7 @@
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/true.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index d4c179f..2c77c99 100644 (file)
@@ -10,7 +10,7 @@
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/tty.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int tty_main(int argc, char **argv);
 int tty_main(int argc, char **argv)
index 2faa893..d4188cd 100644 (file)
@@ -37,7 +37,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/utsname.h>
-#include "busybox.h"
+#include "libbb.h"
 
 typedef struct {
        struct utsname name;
index 11a731a..adc196b 100644 (file)
@@ -10,7 +10,7 @@
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/uniq.html */
 
-#include "busybox.h"
+#include "libbb.h"
 
 static const char uniq_opts[] = "cdu" "f:s:" "cdu\0\1\2\4";
 
index 2baf2bc..e0cd56e 100644 (file)
@@ -9,7 +9,7 @@
 
 /* BB_AUDIT SUSv3 N/A -- Apparently a busybox extension. */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index c195a3e..779710e 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 
-#include "busybox.h"
+#include "libbb.h"
 
 static void read_stduu(FILE *src_stream, FILE *dst_stream)
 {
index 3207d72..9490474 100644 (file)
@@ -8,7 +8,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 
 #define SRC_BUF_SIZE   45  // This *MUST* be a multiple of 3
index 60a4a71..2ad0564 100644 (file)
@@ -11,7 +11,7 @@
 /* BB_AUDIT SUSv3 N/A */
 /* BB_AUDIT GNU defects -- only option -n is supported. */
 
-#include "busybox.h"
+#include "libbb.h"
 
 // procps 2.0.18:
 // watch [-d] [-n seconds]
index 926b3ac..04112c1 100644 (file)
@@ -41,7 +41,7 @@
  * for which 'wc -c' should output '0'.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #ifdef CONFIG_LOCALE_SUPPORT
 #define isspace_given_isprint(c) isspace(c)
index a5d3b02..546050a 100644 (file)
@@ -17,7 +17,7 @@
  *----------------------------------------------------------------------
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <utmp.h>
 #include <time.h>
 
index 25757f6..156516f 100644 (file)
@@ -9,7 +9,7 @@
 
 /* BB_AUDIT SUSv3 N/A -- Matches GNU behavior. */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index 5697641..5529eab 100644 (file)
@@ -14,7 +14,7 @@
  * Size reductions and removed redundant applet name prefix from error messages.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */
 
index ce5bda5..966257a 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
index 51a017c..f950084 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 1a2c1ef..b6b4965 100644 (file)
@@ -7,12 +7,10 @@
  * Licensed under GPL v2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
-#include <errno.h>
-#include <unistd.h>
-#include <stdlib.h>
 #include <getopt.h>
 
+#include "libbb.h"
+
 int readlink_main(int argc, char **argv);
 int readlink_main(int argc, char **argv)
 {
index e6dec04..cb4a4e4 100644 (file)
  * -u MASK             umask. Set the umask of the program executed to MASK.
  */
 
-
-#include "busybox.h"
 #include <getopt.h>
 
+#include "libbb.h"
+
 #if ENABLE_FEATURE_RUN_PARTS_LONG_OPTIONS
 static const struct option runparts_long_options[] = {
        { "arg",        1,      NULL,   'a' },
index 1154794..0681a08 100644 (file)
@@ -8,10 +8,11 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
 #include <getopt.h>
 #include <sys/resource.h>
 
+#include "libbb.h"
+
 static int signal_nr = 15;
 static int user_id = -1;
 static char *userspec;
index 02992d0..2c71ed3 100644 (file)
@@ -10,7 +10,7 @@
  * Based on which from debianutils
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int which_main(int argc, char **argv);
 int which_main(int argc, char **argv)
index 5d8fbe7..2bc938f 100644 (file)
@@ -19,7 +19,7 @@ such as who you stole the code from and so forth. Also include the mini-GPL
 boilerplate. Be sure to name the main function <applet>_main instead of main.
 And be sure to put it in <applet>.c. Usage does not have to be taken care of by
 your applet.
-Make sure to #include "busybox.h" as the first include file in your applet so
+Make sure to #include "libbb.h" as the first include file in your applet so
 the bb_config.h and appropriate platform specific files are included properly.
 
 For a new applet mu, here is the code that would go in mu.c:
@@ -39,7 +39,7 @@ For a new applet mu, here is the code that would go in mu.c:
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "other.h"
 
 int mu_main(int argc, char **argv);
index 82dba4a..0ac0373 100644 (file)
@@ -19,7 +19,7 @@
  * 98/12/29    - Display version info only when -V specified (G M Sipe)
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "e2fs_lib.h"
 
 #define OPT_ADD 1
index 446541e..2954cab 100644 (file)
@@ -37,7 +37,7 @@
  * It doesn't guess filesystem types from on-disk format.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define EXIT_OK          0
 #define EXIT_NONDESTRUCT 1
index 25d2e3e..fbfbea2 100644 (file)
@@ -18,7 +18,7 @@
  * 98/12/29    - Display version info only when -V specified (G M Sipe)
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "e2fs_lib.h"
 
 enum {
index e520632..73d398f 100644 (file)
@@ -39,7 +39,7 @@
 #include "blkid/blkid.h"
 #include "ext2fs/ext2_ext_attr.h"
 #include "uuid/uuid.h"
-#include "busybox.h"
+#include "libbb.h"
 
 #ifdef HAVE_CONIO_H
 #undef HAVE_TERMIOS_H
index 2a2367b..cae28f1 100644 (file)
@@ -1,5 +1,5 @@
 /* vi: set sw=4 ts=4: */
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/types.h>         /* Needed by dirent.h on netbsd */
 #include <stdio.h>
 #include <dirent.h>
index 7b794c3..0ad62ca 100644 (file)
@@ -46,7 +46,7 @@
 
 #include "e2fsbb.h"
 
-#include "busybox.h"
+#include "libbb.h"
 
 #ifndef _PATH_MNTTAB
 #define _PATH_MNTTAB    "/etc/fstab"
index e5a9337..920a50c 100644 (file)
@@ -44,7 +44,7 @@
 #include "util.h"
 #include "blkid/blkid.h"
 
-#include "busybox.h"
+#include "libbb.h"
 
 static char * device_name = NULL;
 static char * new_label, *new_last_mounted, *new_UUID;
index 2d6773b..ea326ec 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "xregex.h"
 #include <math.h>
 extern char **environ;
index 1706e42..731aef1 100644 (file)
@@ -7,7 +7,7 @@
  * The "ed" built-in command (much simplified)
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 enum {
        USERSIZE = sizeof(bb_common_bufsiz1) > 1024 ? 1024
index 11b2f25..f65bbf4 100644 (file)
  */
 
 #include <getopt.h>
-#include <string.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include "busybox.h"
+
+#include "libbb.h"
 
 static unsigned int copy_lines(FILE *src_stream, FILE *dest_stream, const unsigned int lines_count)
 {
index 4dd5331..b3c4430 100644 (file)
@@ -58,7 +58,7 @@
        Reference http://www.opengroup.org/onlinepubs/007904975/utilities/sed.html
 */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "xregex.h"
 
 /* Each sed command turns into one of these structures. */
index 66b01e2..97ca802 100644 (file)
@@ -21,7 +21,7 @@
  *     An "ex" line oriented mode- maybe using "cmdedit"
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define ENABLE_FEATURE_VI_CRASHME 0
 
index aec22a5..2d271d2 100644 (file)
@@ -46,7 +46,7 @@
  */
 
 #include <fnmatch.h>
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index f434176..5950860 100644 (file)
@@ -19,7 +19,7 @@
  * (C) 2006 Jac Goudsmit added -o option
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "xregex.h"
 
 /* options */
index 1a83ee1..4ca9563 100644 (file)
@@ -17,7 +17,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* This is a NOEXEC applet. Be very careful! */
 
index 8faf9d8..ca5c153 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/reboot.h>
 
 int halt_main(int argc, char **argv);
index 342e0a6..3dcd072 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <paths.h>
 #include <signal.h>
 #include <sys/ioctl.h>
index 77bfe0e..e182b41 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #ifdef USE_TTY_GROUP
 #define S_IWGRP_OR_S_IWOTH     S_IWGRP
index 281f708..ed802f0 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "ipsvd_perhost.h"
 
 static struct hcc *cc;
index 553fee8..bc3d3a2 100644 (file)
@@ -32,7 +32,7 @@
 #include <limits.h>
 #include <linux/netfilter_ipv4.h> /* wants <limits.h> */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "ipsvd_perhost.h"
 
 #ifdef SSLSVD
index 382d28a..d4465f8 100644 (file)
@@ -7,8 +7,8 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "libbb.h"
 #include <getopt.h>
+#include "libbb.h"
 
 /*      Documentation
 
index 3cb9c3e..9bbc709 100644 (file)
@@ -29,7 +29,7 @@
  */
 
 #include <sys/ioctl.h>
-#include "busybox.h"
+#include "libbb.h"
 
 
 /* FIXME: obsolete CONFIG item? */
index 4cb85f0..ff076f6 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>
  */
-#include "busybox.h"
+#include "libbb.h"
 #include <selinux/context.h>
 
 context_t set_security_context_component(security_context_t cur_context,
index 4eb4737..d02ef9c 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* All the functions starting with "x" call bb_error_msg_and_die() if they
  * fail, so callers never need to check for errors.  If it returned, it
index f10b406..b0085c4 100644 (file)
@@ -25,7 +25,7 @@ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* Always sets uid and gid */
 int get_uidgid(struct bb_uidgid_t *u, const char *ug, int numeric_ok)
index 5aefda6..2487aad 100644 (file)
@@ -10,7 +10,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 static void xgroup_study(struct group *g)
 {
index 124e177..82a4381 100644 (file)
@@ -8,7 +8,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define OPT_DONT_SET_PASS  (1 << 4)
 #define OPT_DONT_MAKE_HOME (1 << 6)
index 54babdc..0c298c5 100644 (file)
@@ -5,7 +5,7 @@
  * Cooked from passwd.c by Thomas Lundquist <thomasez@zelow.no>
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int cryptpw_main(int argc, char **argv);
 int cryptpw_main(int argc, char **argv)
index 2781df3..59e69b9 100644 (file)
@@ -10,7 +10,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* Status */
 #define STATUS_OK            0
index 64d2d08..f969124 100644 (file)
@@ -16,7 +16,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <syslog.h>
 
 #if ENABLE_FEATURE_UTMP
index 232c610..d725466 100644 (file)
@@ -3,7 +3,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <utmp.h>
 #include <sys/resource.h>
 #include <syslog.h>
index a323c0a..8f65c3d 100644 (file)
@@ -3,7 +3,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <syslog.h>
 
 
index 0a786cb..fd17319 100644 (file)
@@ -5,7 +5,7 @@
  *  Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <syslog.h>
 
 #define SU_OPT_mp (3)
index 38503f7..36b10fb 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <syslog.h>
 
-#include "busybox.h"
+#include "libbb.h"
 
 static const char * const forbid[] = {
        "ENV",
index 06a7169..7f614fc 100644 (file)
@@ -16,7 +16,7 @@
 /* Fixed by Erik Andersen to do passwords the tinylogin way...
  * It now works with md5, sha1, etc passwords. */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/vt.h>
 
 static struct passwd *pw;
index 22fd39e..9f8227c 100644 (file)
@@ -11,7 +11,7 @@
  * Licensed under GPLv2 or later, see file License in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/timex.h>
 
 static const struct {int bit; const char *name;} statlist[] = {
index 6896506..803d1d9 100644 (file)
@@ -1,7 +1,7 @@
 /* vi: set sw=4 ts=4: */
 /* This file was released into the public domain by Paul Fox.
  */
-#include "busybox.h"
+#include "libbb.h"
 #include "bbconfigopts.h"
 
 int bbconfig_main(int argc, char **argv);
index f52c3cd..8a4b78f 100644 (file)
@@ -6,10 +6,10 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
 #include <unistd.h>
 #include <sched.h>
 #include <getopt.h> /* optind */
+#include "libbb.h"
 #ifndef _POSIX_PRIORITY_SCHEDULING
 #warning your system may be foobared
 #endif
index c7d1a6c..a490d41 100644 (file)
@@ -12,7 +12,7 @@
 
 #define VERSION "2.3.2"
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/syslog.h>
 
 #define arysize(ary)    (sizeof(ary)/sizeof((ary)[0]))
index 02df85b..76c382e 100644 (file)
@@ -10,7 +10,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #ifndef CRONTABS
 #define CRONTABS        "/var/spool/cron/crontabs"
index 1953a94..872b814 100644 (file)
@@ -3,7 +3,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <math.h>
 
 /* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */
index d1a5163..0b08fb6 100644 (file)
@@ -54,7 +54,7 @@
       Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia.
 */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "xregex.h"
 #include <unistd.h>
 #include <stdio.h>
index 5d7ef1c..631a344 100644 (file)
@@ -13,7 +13,7 @@
  * Most of the dirty work blatantly ripped off from cat.c =)
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* various defines swiped from linux/cdrom.h */
 #define CDROMCLOSETRAY            0x5319  /* pendant of CDROMEJECT  */
index 0a689d8..181ac5f 100644 (file)
@@ -12,7 +12,7 @@
  *          - by Mark Lord (C) 1994-2002 -- freely distributable
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <linux/hdreg.h>
 
 /* device types */
index d354807..f38c4b8 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under the GPL version 2, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <utmp.h>
 
 #ifndef SHUTDOWN_TIME
index 138bd47..3df1f37 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <sched.h>     /* sched_yield() */
 
-#include "busybox.h"
+#include "libbb.h"
 #if ENABLE_FEATURE_LESS_REGEXP
 #include "xregex.h"
 #endif
index fce7ea4..0ad12d7 100644 (file)
@@ -7,7 +7,7 @@
  * known bugs: can't deal with alpha ranges
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #ifdef CONFIG_FEATURE_MAKEDEVS_LEAF
 int makedevs_main(int argc, char **argv);
index e380154..b5ce35c 100644 (file)
@@ -9,7 +9,7 @@
  * Based on sysvinit's mountpoint
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int mountpoint_main(int argc, char **argv);
 int mountpoint_main(int argc, char **argv)
index bed2969..2971421 100644 (file)
@@ -3,7 +3,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/mtio.h>
 
 struct mt_opcodes {
index c96ce5d..e15cc8c 100644 (file)
@@ -12,7 +12,7 @@
 // disk_io: (3,0):(22272,17897,410702,4375,54750)
 // btime 1059401962
 
-#include "busybox.h"
+#include "libbb.h"
 #include <time.h>
 
 typedef unsigned long long ullong;
index c95b00a..2b65d39 100644 (file)
@@ -8,7 +8,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #include <linux/major.h>
 #include <linux/raid/md_u.h>
index 601e845..103ce8e 100644 (file)
@@ -10,7 +10,7 @@
  * Licensed under GPLv2 or later, see file License in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int readahead_main(int argc, char **argv);
 int readahead_main(int argc, char **argv)
index df2da2b..f7d55de 100644 (file)
@@ -12,7 +12,7 @@
  * initially busyboxified by Bernhard Fischer
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <stdio.h>
 #include <utmp.h>
 #include <time.h>
index 6e79f34..675aad2 100644 (file)
@@ -19,7 +19,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define SOH 0x01
 #define STX 0x02
index 1abb545..a976fe9 100644 (file)
@@ -14,7 +14,7 @@
  * - busyboxed
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int setsid_main(int argc, char **argv);
 int setsid_main(int argc, char **argv)
index 49f2cf3..eff1bd9 100644 (file)
@@ -7,11 +7,9 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
-#include <stdio.h>
-#include <stdlib.h>
 #include <getopt.h>
-#include <ctype.h>
+
+#include "libbb.h"
 
 #define WHOLE_FILE             1
 #define PRINT_NAME             2
index b3bf490..cd8ffc8 100644 (file)
@@ -6,9 +6,9 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
 #include <sched.h>
 #include <getopt.h> /* optind */
+#include "libbb.h"
 
 #if ENABLE_FEATURE_TASKSET_FANCY
 #define TASKSET_PRINTF_MASK "%s"
index a459195..0a2e0b7 100644 (file)
@@ -9,7 +9,7 @@
    Heavily modified for busybox by Erik Andersen <andersen@codepoet.org>
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define TV_MSEC tv_usec / 1000
 
index 28ae9bd..b64291b 100644 (file)
@@ -8,7 +8,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define OPT_FOREGROUND 0x01
 #define OPT_TIMER      0x02
index adfbd33..f8be9ce 100644 (file)
@@ -58,7 +58,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <libgen.h>
 #include <sys/utsname.h>
 
index 31549b9..acca230 100644 (file)
@@ -11,7 +11,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 
 #ifndef CONFIG_FEATURE_CHECK_TAINTED_MODULE
index 4c5e436..a7c6307 100644 (file)
@@ -11,7 +11,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
 */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/utsname.h>
 #include <fnmatch.h>
 
index 67cf58c..4c792d3 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/syscall.h>
 
 #ifdef CONFIG_FEATURE_2_6_MODULES
index 7a36f44..6a7c862 100644 (file)
@@ -13,7 +13,7 @@
  * modified for getopt32 by Arne Bernin <arne [at] alamut.de>
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "inet_common.h"
 
 #include <arpa/inet.h>
index d71ac49..0371df3 100644 (file)
@@ -16,7 +16,7 @@
 #include <netinet/ether.h>
 #include <netpacket/packet.h>
 
-#include "busybox.h"
+#include "libbb.h"
 
 static struct in_addr src;
 static struct in_addr dst;
index 8807bbe..32166e5 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include <syslog.h>
-#include "busybox.h"
+#include "libbb.h"
 
 //#define DEBUG 1
 #define DEBUG 0
index ed41590..9de0d48 100644 (file)
@@ -70,7 +70,7 @@
 #include <netinet/ether.h>
 #include <linux/if.h>
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* Note: PF_INET, SOCK_DGRAM, IPPROTO_UDP would allow SIOCGIFHWADDR to
  * work as non-root, but we need SOCK_PACKET to specify the Ethernet
index 9b0510d..54b5f5a 100644 (file)
@@ -13,8 +13,8 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
 #include <getopt.h>
+#include "libbb.h"
 
 typedef struct ftp_host_info_s {
        const char *user;
index 3f6a658..50ef7b5 100644 (file)
@@ -12,7 +12,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 static void do_sethostname(char *s, int isfile)
 {
index d8ea483..f47e2c1 100644 (file)
@@ -91,7 +91,7 @@
  *
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* amount of buffering in a pipe */
 #ifndef PIPE_BUF
index 3dcc902..5742399 100644 (file)
@@ -37,7 +37,7 @@
 #include <netinet/if_ether.h>
 #endif
 #include "inet_common.h"
-#include "busybox.h"
+#include "libbb.h"
 
 #if ENABLE_FEATURE_IFCONFIG_SLIP
 # include <net/if_slip.h>
index 5b22517..8e8341e 100644 (file)
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
 #include <sys/utsname.h>
 #include <fnmatch.h>
 #include <getopt.h>
 
+#include "libbb.h"
+
 #define MAX_OPT_DEPTH 10
 #define EUNBALBRACK 10001
 #define EUNDEFVAR   10002
index dc191a4..211a8dc 100644 (file)
  *                      setuid()
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <syslog.h>
 #include <sys/un.h>
 
index b1b935e..51e3d74 100644 (file)
@@ -34,7 +34,7 @@
 #include <net/if.h>
 #include <net/if_arp.h>
 #include "inet_common.h"
-#include "busybox.h"
+#include "libbb.h"
 
 #if ENABLE_FEATURE_IPV6
 # define HAVE_AFINET6 1
index c7816c8..0105bd9 100644 (file)
@@ -13,7 +13,7 @@
  * Bernhard Fischer rewrote to use index_in_substr_array
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #include "libiproute/utils.h"
 #include "libiproute/ip_common.h"
index 63ce99f..a39ad1a 100644 (file)
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
-#include <ctype.h>
 #include <getopt.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
 
+#include "libbb.h"
+
 #define CLASS_A_NETMASK        ntohl(0xFF000000)
 #define CLASS_B_NETMASK        ntohl(0xFFFF0000)
 #define CLASS_C_NETMASK        ntohl(0xFFFFFF00)
index f0df222..a51618a 100644 (file)
@@ -8,7 +8,7 @@
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "isrv.h"
 
 #define DEBUG 0
index 59daf99..84cf6da 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <syslog.h>
-#include "busybox.h"
+#include "libbb.h"
 #include "isrv.h"
 
 enum { TIMEOUT = 20 };
index 96df610..9710107 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef _IP_COMMON_H
 #define _IP_COMMON_H 1
 
-#include "busybox.h"
+#include "libbb.h"
 #include <asm/types.h>
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h>
index ec77512..a65f308 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <syslog.h>
 #include <net/if.h>
 #include <netinet/ether.h>
index e89eb76..1fb38f8 100644 (file)
@@ -7,7 +7,7 @@
  *  Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #if ENABLE_DESKTOP
 #include "nc_bloaty.c"
index 57af7eb..3e333b7 100644 (file)
@@ -48,7 +48,7 @@
  *   are closed, but nc doesn't exit - continues to listen/accept.
  */
 
-/* done in nc.c: #include "busybox.h" */
+/* done in nc.c: #include "libbb.h" */
 
 enum {
        SLEAZE_PORT = 31337,               /* for UDP-scan RTT trick, change if ya want */
index 5fb5c38..38091ae 100644 (file)
@@ -11,7 +11,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "inet_common.h"
 
 enum {
index 424a0e4..608e654 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #include <resolv.h>
-#include "busybox.h"
+#include "libbb.h"
 
 /*
  *  I'm only implementing non-interactive mode;
index e413bec..2f33191 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <net/if.h>
 #include <netinet/ip_icmp.h>
-#include "busybox.h"
+#include "libbb.h"
 
 #if ENABLE_PING6
 #include <netinet/icmp6.h>
index da59698..881332b 100644 (file)
  * remove ridiculous amounts of bloat.
  */
 
-#include "busybox.h"
-#include "inet_common.h"
 #include <getopt.h>
 #include <net/route.h>
 #include <net/if.h>
 
+#include "libbb.h"
+#include "inet_common.h"
+
 
 #ifndef RTF_UP
 /* Keep this in sync with /usr/src/linux/include/linux/route.h */
index 5c75a74..a594505 100644 (file)
@@ -24,7 +24,7 @@
 #include <termios.h>
 #include <arpa/telnet.h>
 #include <netinet/in.h>
-#include "busybox.h"
+#include "libbb.h"
 
 #ifdef DOTRACE
 #define TRACE(x, y) do { if (x) printf y; } while (0)
index 4ab6f56..21b704a 100644 (file)
@@ -24,7 +24,7 @@
 /*#define DEBUG 1 */
 #define DEBUG 0
 
-#include "busybox.h"
+#include "libbb.h"
 
 #if DEBUG
 #define TELCMDS
index 3fb76ec..e1e278a 100644 (file)
@@ -19,7 +19,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  * ------------------------------------------------------------------------- */
 
-#include "busybox.h"
+#include "libbb.h"
 
 
 #if ENABLE_FEATURE_TFTP_GET || ENABLE_FEATURE_TFTP_PUT
index b4cca25..ce8dc83 100644 (file)
 #include <netinet/ip.h>
 #include <netinet/ip_icmp.h>
 
-#include "busybox.h"
+#include "libbb.h"
 #include "inet_common.h"
 
 
index 6c0db5b..006d580 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _COMMON_H
 #define _COMMON_H
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define DEFAULT_SCRIPT  "/usr/share/udhcpc/default.script"
 
index 06c06cb..e063d0a 100644 (file)
@@ -9,7 +9,7 @@
 
 /* BB_AUDIT SUSv3 N/A */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <net/if.h>
 
 /* Stuff from linux/if_vlan.h, kernel version 2.4.23 */
index 026722a..2c060d7 100644 (file)
@@ -10,8 +10,8 @@
 /* http://www.unix.org/version2/whatsnew/lfs20mar.html */
 #define _LARGEFILE64_SOURCE 1
 
-#include "busybox.h"
 #include <getopt.h>    /* for struct option */
+#include "libbb.h"
 
 struct host_info {
        // May be used if we ever will want to free() all xstrdup()s...
index 195ae50..3b67a03 100644 (file)
@@ -23,7 +23,7 @@
 // - avoid silent script failures, especially under load...
 // - link status monitoring (restart on link-up; stop on link-down)
 
-#include "busybox.h"
+#include "libbb.h"
 #include <syslog.h>
 #include <poll.h>
 #include <sys/wait.h>
index 2b205d0..42193fd 100644 (file)
@@ -9,7 +9,7 @@
 
 /* getopt not needed */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int free_main(int argc, char **argv);
 int free_main(int argc, char **argv)
index 40789dd..f65b05d 100644 (file)
@@ -8,7 +8,7 @@
  * GNU Library General Public License
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define FUSER_PROC_DIR "/proc"
 #define FUSER_MAX_LINE 255
index 3e0e121..892a798 100644 (file)
@@ -8,7 +8,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* Note: kill_main is directly called from shell in order to implement
  * kill built-in. Shell substitutes job ids with process groups first.
index ea2520a..3541aee 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under the GPL version 2, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 enum {
        USE_FEATURE_PIDOF_SINGLE(OPTBIT_SINGLE,)
index 5545313..968a6fe 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under the GPL version 2, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #if ENABLE_DESKTOP
 
index 2964e20..6c5bb0e 100644 (file)
@@ -19,7 +19,7 @@
  *   following IDs (if any).  Multiple switches are allowed.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/resource.h>
 
 void BUG_bad_PRIO_PROCESS(void);
index 2c3fda5..a0e9e16 100644 (file)
@@ -14,7 +14,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /*
  *    Function Prototypes
index 580c300..948ab03 100644 (file)
@@ -28,7 +28,7 @@
  * GNU Library General Public License
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 
 typedef struct top_status_t {
index c2b5d39..ee0657e 100644 (file)
@@ -15,7 +15,7 @@
 
 /* getopt not needed */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #ifndef FSHIFT
 # define FSHIFT 16              /* nr of bits of precision */
index 7b90784..8eb1e8a 100644 (file)
@@ -28,7 +28,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 /* Busyboxed by Denis Vlasenko <vda.linux@googlemail.com> */
 /* Dependencies on runit_lib.c removed */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #include <dirent.h>
 
index d5bfd4e..20f8495 100644 (file)
@@ -30,7 +30,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #include <sys/poll.h>
 #include <sys/file.h>
-#include "busybox.h"
+#include "libbb.h"
 #include "runit_lib.h"
 
 static int selfpipe[2];
index 4b94aa2..8db0fc1 100644 (file)
@@ -30,7 +30,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #include <sys/poll.h>
 #include <sys/file.h>
-#include "busybox.h"
+#include "libbb.h"
 #include "runit_lib.h"
 
 #define MAXSERVICES 1000
index 01488c0..a918bb7 100644 (file)
@@ -153,7 +153,7 @@ Exit Codes
 
 #include <sys/poll.h>
 #include <sys/file.h>
-#include "busybox.h"
+#include "libbb.h"
 #include "runit_lib.h"
 
 static const char *acts;
index 4e9644f..08e0b64 100644 (file)
@@ -30,7 +30,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #include <sys/poll.h>
 #include <sys/file.h>
-#include "busybox.h"
+#include "libbb.h"
 #include "runit_lib.h"
 
 static unsigned verbose;
index 437502c..a8a816b 100644 (file)
@@ -5,10 +5,11 @@
  *
  * Copyright (C) 2006 - 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>
  */
-#include "busybox.h"
 #include <getopt.h>
 #include <selinux/context.h>
 
+#include "libbb.h"
+
 #define OPT_RECURSIVE          (1<<0)  /* 'R' */
 #define OPT_CHANHES            (1<<1)  /* 'c' */
 #define OPT_NODEREFERENCE      (1<<2)  /* 'h' */
index 865fed9..62b4263 100644 (file)
@@ -6,7 +6,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int getenforce_main(int argc, char **argv);
 int getenforce_main(int argc, char **argv)
index 0479598..b059003 100644 (file)
@@ -6,7 +6,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int getsebool_main(int argc, char **argv);
 int getsebool_main(int argc, char **argv)
index 5d5d7d5..5d140bc 100644 (file)
@@ -3,7 +3,7 @@
  * This implementation is based on old load_policy to be small.
  * Author: Yuichi Nakamura <ynakam@hitachisoft.jp>
  */
-#include "busybox.h"
+#include "libbb.h"
 
 int load_policy_main(int argc, char **argv);
 int load_policy_main(int argc, char **argv)
index 4e33c99..8d681d0 100644 (file)
@@ -4,7 +4,7 @@
  * Port to busybox: KaiGai Kohei <kaigai@kaigai.gr.jp>
  *
  */
-#include "busybox.h"
+#include "libbb.h"
 
 static int print_matchpathcon(char *path, int noprint)
 {
index 9f61fdb..741c7bb 100644 (file)
  * Port to busybox: KaiGai Kohei <kaigai@kaigai.gr.jp>
  *                  - based on coreutils-5.97 (in Fedora Core 6)
  */
-#include "busybox.h"
 #include <getopt.h>
 #include <selinux/context.h>
 #include <selinux/flask.h>
 
+#include "libbb.h"
+
 static context_t runcon_compute_new_context(char *user, char *role, char *type, char *range,
                                            char *command, int compute_trans)
 {
index c93ba70..8a9c7cd 100644 (file)
@@ -5,7 +5,7 @@
  * Port to BusyBox  Hiroshi Shinji <shiroshi@my.email.ne.jp>
  *
  */
-#include "busybox.h"
+#include "libbb.h"
 
 int selinuxenabled_main(int argc, char **argv);
 int selinuxenabled_main(int argc, char **argv)
index 9204fcc..59b1b0f 100644 (file)
@@ -6,7 +6,7 @@
  *
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* These strings are arranged so that odd ones
  * result in security_setenforce(1) being done,
index ed46e1c..b1d22e5 100644 (file)
@@ -53,7 +53,7 @@
 #if DEBUG
 #define _GNU_SOURCE
 #endif
-#include "busybox.h"
+#include "busybox.h" /* for struct bb_applet */
 #include <paths.h>
 #include <setjmp.h>
 #include <fnmatch.h>
index 8f0fb05..4fd0714 100644 (file)
@@ -36,7 +36,7 @@
   echo `echo hello#comment " woot` and more
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 // A single executable, its arguments, and other information we know about it.
 #define BBSH_FLAG_EXIT    1
index 2e6f286..6844f06 100644 (file)
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+
 #include <glob.h>      /* glob, of course */
 #include <getopt.h>    /* should be pretty obvious */
 /* #include <dmalloc.h> */
+
 extern char **environ; /* This is in <unistd.h>, but protected with __USE_GNU */
 
+#include "busybox.h" /* for struct bb_applet */
+
 
 /* If you comment out one of these below, it will be #defined later
  * to perform debug printfs to stderr: */
index 28449b7..21c95fb 100644 (file)
 //For debugging/development on the shell only...
 //#define DEBUG_SHELL
 
-
-#include "busybox.h"
 #include <getopt.h>
 #include <glob.h>
+
+#include "busybox.h" /* for struct bb_applet */
+
 #define expand_t       glob_t
 
 /* Always enable for the moment... */
index 6242539..5beec14 100644 (file)
@@ -17,7 +17,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/syslog.h>
 #include <sys/klog.h>
 
index 71dd531..971a6be 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #if !defined CONFIG_SYSLOGD
 
index b1758a6..ac354b5 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/ipc.h>
 #include <sys/sem.h>
 #include <sys/shm.h>
index 76a446b..8897e9c 100644 (file)
@@ -13,7 +13,7 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <paths.h>
 #include <sys/un.h>
 
index 820b837..ed908ed 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under GPLv2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <unistd.h>
 #include <sys/klog.h>
 
index bd584e4..f963040 100644 (file)
@@ -12,7 +12,7 @@
  *     Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 #define DEFAULTFBDEV  FB_0
 #define DEFAULTFBMODE "/etc/fb.modes"
index d694bd6..e9fbeee 100644 (file)
@@ -9,7 +9,7 @@
  * 5 July 2003 -- modified for Busybox by Erik Andersen
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 
 /* Stuff extracted from linux/fd.h */
index f3c7ca4..a1893c6 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <assert.h>             /* assert */
-#include "busybox.h"
+#include "libbb.h"
 
 /* Looks like someone forgot to add this to config system */
 #ifndef ENABLE_FEATURE_FDISK_BLKSIZE
index ae341b0..a1f2c56 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under GPLv2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* From <linux/fd.h> */
 #define FDFLUSH  _IO(2,0x4b)
index cc73cdd..d35a25a 100644 (file)
@@ -87,7 +87,7 @@
  * enforced (but it's not much fun on a character device :-).
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <mntent.h>
 
 #include "minix.h"
index 68e69de..b4749c1 100644 (file)
@@ -31,8 +31,8 @@
  *
  */
 
-#include "busybox.h"
 #include <getopt.h>
+#include "libbb.h"
 
 /* NON_OPT is the code that is returned when a non-option is found in '+'
    mode */
index 85a4490..36ed1e9 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #include <getopt.h>
-#include "busybox.h"
+#include "libbb.h"
 #include "dump.h"
 
 /* This is a NOEXEC applet. Be very careful! */
index 4ca8eaf..6864925 100644 (file)
@@ -11,7 +11,7 @@
 #include <sys/ioctl.h>
 #include <sys/utsname.h>
 #include <getopt.h>
-#include "busybox.h"
+#include "libbb.h"
 
 /* Copied from linux/rtc.h to eliminate the kernel dependency */
 struct linux_rtc_time {
index 025f527..1e62062 100644 (file)
@@ -8,7 +8,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 /* X/OPEN tells us to use <sys/{types,ipc,sem}.h> for semctl() */
 /* X/OPEN tells us to use <sys/{types,ipc,msg}.h> for msgctl() */
index 489480c..393f948 100644 (file)
@@ -8,7 +8,7 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <errno.h>
 #include <time.h>
 #include <pwd.h>
index b1e4b08..e2d4e4d 100644 (file)
@@ -8,9 +8,8 @@
  */
 
 #include <getopt.h>
-#include <stdlib.h>
 
-#include "busybox.h"
+#include "libbb.h"
 
 int losetup_main(int argc, char **argv);
 int losetup_main(int argc, char **argv)
index 6ff49fc..a4716e2 100644 (file)
@@ -9,7 +9,7 @@
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include "xregex.h"
 
 #define DEV_PATH       "/dev"
index d70d20f..9707ba3 100644 (file)
@@ -62,7 +62,7 @@
  *     removed getopt based parser and added a hand rolled one.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <mntent.h>
 
 #include "minix.h"
index a84792c..88f1fbb 100644 (file)
@@ -6,7 +6,7 @@
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 int mkswap_main(int argc, char **argv);
 int mkswap_main(int argc, char **argv)
index 2a38ef3..30ef896 100644 (file)
@@ -14,7 +14,7 @@
  * Licensed under GPLv2 or later, see file License in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 
 
 #if ENABLE_FEATURE_USE_TERMIOS
index 030ea66..fe2f1d9 100644 (file)
@@ -18,7 +18,7 @@
    mount_it_now() does the actual mount.
 */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <mntent.h>
 
 /* Needed for nfs support only... */
index 2706bd2..929ed30 100644 (file)
@@ -8,7 +8,7 @@
  *
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
-#include "busybox.h"
+#include "libbb.h"
 
 extern int pivot_root(const char * new_root,const char * put_old);
 
index 33cf64e..9166546 100644 (file)
@@ -8,7 +8,7 @@
  * Licensed under GPL v2 or later, see file License for details.
 */
 
-#include "busybox.h"
+#include "libbb.h"
 
 enum { RFC_868_BIAS = 2208988800UL };
 
index a17b9c8..f2bd3bb 100644 (file)
@@ -32,7 +32,7 @@
  * Paul Mundt <lethal@linux-sh.org>.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/utsname.h>
 
 #define S_LEN 128
index a7a45ec..f6433d6 100644 (file)
@@ -14,7 +14,7 @@
 #include <stdio.h>
 #include <sys/personality.h>
 
-#include "busybox.h"
+#include "libbb.h"
 
 int setarch_main(int ATTRIBUTE_UNUSED argc, char **argv);
 int setarch_main(int ATTRIBUTE_UNUSED argc, char **argv)
index 8930035..cb1bbe9 100644 (file)
@@ -7,7 +7,7 @@
  * Licensed under the GPL version 2, see the file LICENSE in this tarball.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <mntent.h>
 #include <sys/swap.h>
 
index 88bb9db..72a2f46 100644 (file)
@@ -6,7 +6,7 @@
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
+#include "libbb.h"
 #include <sys/vfs.h>
 
 
index 19f1345..7063a47 100644 (file)
@@ -8,9 +8,9 @@
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
 
-#include "busybox.h"
 #include <mntent.h>
 #include <getopt.h>
+#include "libbb.h"
 
 #define OPTION_STRING          "flDnravdt:"
 #define OPT_FORCE                      1