aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-05-26 19:00:18 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-05-26 19:00:18 +0000
commitb6adbf1be29841501cc49917249e85f273e1df7c (patch)
treee28a5603e6009b2479e949b8b9b4aa0620fed400 /util-linux
parent5a6aeddfa7262e41802c77f70c9ef88e9c2c2476 (diff)
downloadbusybox-b6adbf1be29841501cc49917249e85f273e1df7c.tar.gz
busybox-b6adbf1be29841501cc49917249e85f273e1df7c.tar.bz2
usage.c: remove reference to busybox.h
*: s/include "busybox.h"/include "libbb.h"
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/dmesg.c2
-rw-r--r--util-linux/fbset.c2
-rw-r--r--util-linux/fdformat.c2
-rw-r--r--util-linux/fdisk.c2
-rw-r--r--util-linux/freeramdisk.c2
-rw-r--r--util-linux/fsck_minix.c2
-rw-r--r--util-linux/getopt.c2
-rw-r--r--util-linux/hexdump.c2
-rw-r--r--util-linux/hwclock.c2
-rw-r--r--util-linux/ipcrm.c2
-rw-r--r--util-linux/ipcs.c2
-rw-r--r--util-linux/losetup.c3
-rw-r--r--util-linux/mdev.c2
-rw-r--r--util-linux/mkfs_minix.c2
-rw-r--r--util-linux/mkswap.c2
-rw-r--r--util-linux/more.c2
-rw-r--r--util-linux/mount.c2
-rw-r--r--util-linux/pivot_root.c2
-rw-r--r--util-linux/rdate.c2
-rw-r--r--util-linux/readprofile.c2
-rw-r--r--util-linux/setarch.c2
-rw-r--r--util-linux/swaponoff.c2
-rw-r--r--util-linux/switch_root.c2
-rw-r--r--util-linux/umount.c2
24 files changed, 24 insertions, 25 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index 820b837c9..ed908ede9 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -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>
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index bd584e460..f963040bd 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -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"
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c
index d694bd631..e9fbeee7b 100644
--- a/util-linux/fdformat.c
+++ b/util-linux/fdformat.c
@@ -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 */
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index f3c7ca4c6..a1893c66e 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -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
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c
index ae341b066..a1f2c56cf 100644
--- a/util-linux/freeramdisk.c
+++ b/util-linux/freeramdisk.c
@@ -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)
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index cc73cdd5a..d35a25a9d 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -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"
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index 68e69de5c..b4749c199 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -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 */
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c
index 85a449038..36ed1e97c 100644
--- a/util-linux/hexdump.c
+++ b/util-linux/hexdump.c
@@ -10,7 +10,7 @@
*/
#include <getopt.h>
-#include "busybox.h"
+#include "libbb.h"
#include "dump.h"
/* This is a NOEXEC applet. Be very careful! */
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 4ca8eafad..686492578 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -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 {
diff --git a/util-linux/ipcrm.c b/util-linux/ipcrm.c
index 025f527cf..1e6206217 100644
--- a/util-linux/ipcrm.c
+++ b/util-linux/ipcrm.c
@@ -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() */
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c
index 489480c85..393f94832 100644
--- a/util-linux/ipcs.c
+++ b/util-linux/ipcs.c
@@ -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>
diff --git a/util-linux/losetup.c b/util-linux/losetup.c
index b1e4b08b0..e2d4e4d79 100644
--- a/util-linux/losetup.c
+++ b/util-linux/losetup.c
@@ -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)
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index 6ff49fc01..a4716e2da 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -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"
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c
index d70d20fda..9707ba3bd 100644
--- a/util-linux/mkfs_minix.c
+++ b/util-linux/mkfs_minix.c
@@ -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"
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c
index a84792c66..88f1fbb03 100644
--- a/util-linux/mkswap.c
+++ b/util-linux/mkswap.c
@@ -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)
diff --git a/util-linux/more.c b/util-linux/more.c
index 2a38ef326..30ef896bc 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -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
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 030ea662a..fe2f1d969 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -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... */
diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c
index 2706bd2ff..929ed30db 100644
--- a/util-linux/pivot_root.c
+++ b/util-linux/pivot_root.c
@@ -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);
diff --git a/util-linux/rdate.c b/util-linux/rdate.c
index 33cf64efb..9166546ae 100644
--- a/util-linux/rdate.c
+++ b/util-linux/rdate.c
@@ -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 };
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c
index a17b9c880..f2bd3bbae 100644
--- a/util-linux/readprofile.c
+++ b/util-linux/readprofile.c
@@ -32,7 +32,7 @@
* Paul Mundt <lethal@linux-sh.org>.
*/
-#include "busybox.h"
+#include "libbb.h"
#include <sys/utsname.h>
#define S_LEN 128
diff --git a/util-linux/setarch.c b/util-linux/setarch.c
index a7a45ec4d..f6433d6ba 100644
--- a/util-linux/setarch.c
+++ b/util-linux/setarch.c
@@ -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)
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 893003549..cb1bbe940 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -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>
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index 88bb9db2a..72a2f46c1 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -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>
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 19f13454b..7063a474d 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -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