aboutsummaryrefslogtreecommitdiff
path: root/miscutils
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 /miscutils
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 'miscutils')
-rw-r--r--miscutils/adjtimex.c2
-rw-r--r--miscutils/bbconfig.c2
-rw-r--r--miscutils/chrt.c2
-rw-r--r--miscutils/crond.c2
-rw-r--r--miscutils/crontab.c2
-rw-r--r--miscutils/dc.c2
-rw-r--r--miscutils/devfsd.c2
-rw-r--r--miscutils/eject.c2
-rw-r--r--miscutils/hdparm.c2
-rw-r--r--miscutils/last.c2
-rw-r--r--miscutils/less.c2
-rw-r--r--miscutils/makedevs.c2
-rw-r--r--miscutils/mountpoint.c2
-rw-r--r--miscutils/mt.c2
-rw-r--r--miscutils/nmeter.c2
-rw-r--r--miscutils/raidautorun.c2
-rw-r--r--miscutils/readahead.c2
-rw-r--r--miscutils/runlevel.c2
-rw-r--r--miscutils/rx.c2
-rw-r--r--miscutils/setsid.c2
-rw-r--r--miscutils/strings.c6
-rw-r--r--miscutils/taskset.c2
-rw-r--r--miscutils/time.c2
-rw-r--r--miscutils/watchdog.c2
24 files changed, 25 insertions, 27 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c
index 22fd39e8e..9f8227cf0 100644
--- a/miscutils/adjtimex.c
+++ b/miscutils/adjtimex.c
@@ -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[] = {
diff --git a/miscutils/bbconfig.c b/miscutils/bbconfig.c
index 6896506e6..803d1d94b 100644
--- a/miscutils/bbconfig.c
+++ b/miscutils/bbconfig.c
@@ -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);
diff --git a/miscutils/chrt.c b/miscutils/chrt.c
index f52c3cd1b..8a4b78fc4 100644
--- a/miscutils/chrt.c
+++ b/miscutils/chrt.c
@@ -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
diff --git a/miscutils/crond.c b/miscutils/crond.c
index c7d1a6c50..a490d417f 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -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]))
diff --git a/miscutils/crontab.c b/miscutils/crontab.c
index 02df85be8..76c382e8f 100644
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -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"
diff --git a/miscutils/dc.c b/miscutils/dc.c
index 1953a9489..872b814cd 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -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. */
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index d1a5163d2..0b08fb6e5 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -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>
diff --git a/miscutils/eject.c b/miscutils/eject.c
index 5d7ef1c28..631a344a1 100644
--- a/miscutils/eject.c
+++ b/miscutils/eject.c
@@ -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 */
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 0a689d87e..181ac5f6e 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -12,7 +12,7 @@
* - by Mark Lord (C) 1994-2002 -- freely distributable
*/
-#include "busybox.h"
+#include "libbb.h"
#include <linux/hdreg.h>
/* device types */
diff --git a/miscutils/last.c b/miscutils/last.c
index d354807e5..f38c4b878 100644
--- a/miscutils/last.c
+++ b/miscutils/last.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 <utmp.h>
#ifndef SHUTDOWN_TIME
diff --git a/miscutils/less.c b/miscutils/less.c
index 138bd4711..3df1f3785 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -23,7 +23,7 @@
#include <sched.h> /* sched_yield() */
-#include "busybox.h"
+#include "libbb.h"
#if ENABLE_FEATURE_LESS_REGEXP
#include "xregex.h"
#endif
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index fce7ea43d..0ad12d798 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -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);
diff --git a/miscutils/mountpoint.c b/miscutils/mountpoint.c
index e380154ee..b5ce35cf1 100644
--- a/miscutils/mountpoint.c
+++ b/miscutils/mountpoint.c
@@ -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)
diff --git a/miscutils/mt.c b/miscutils/mt.c
index bed2969ca..2971421ef 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -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 {
diff --git a/miscutils/nmeter.c b/miscutils/nmeter.c
index c96ce5da5..e15cc8c71 100644
--- a/miscutils/nmeter.c
+++ b/miscutils/nmeter.c
@@ -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;
diff --git a/miscutils/raidautorun.c b/miscutils/raidautorun.c
index c95b00aae..2b65d39bc 100644
--- a/miscutils/raidautorun.c
+++ b/miscutils/raidautorun.c
@@ -8,7 +8,7 @@
*
*/
-#include "busybox.h"
+#include "libbb.h"
#include <linux/major.h>
#include <linux/raid/md_u.h>
diff --git a/miscutils/readahead.c b/miscutils/readahead.c
index 601e845bc..103ce8e5d 100644
--- a/miscutils/readahead.c
+++ b/miscutils/readahead.c
@@ -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)
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c
index df2da2b1f..f7d55de0f 100644
--- a/miscutils/runlevel.c
+++ b/miscutils/runlevel.c
@@ -12,7 +12,7 @@
* initially busyboxified by Bernhard Fischer
*/
-#include "busybox.h"
+#include "libbb.h"
#include <stdio.h>
#include <utmp.h>
#include <time.h>
diff --git a/miscutils/rx.c b/miscutils/rx.c
index 6e79f3438..675aad2a0 100644
--- a/miscutils/rx.c
+++ b/miscutils/rx.c
@@ -19,7 +19,7 @@
*
*/
-#include "busybox.h"
+#include "libbb.h"
#define SOH 0x01
#define STX 0x02
diff --git a/miscutils/setsid.c b/miscutils/setsid.c
index 1abb54530..a976fe93b 100644
--- a/miscutils/setsid.c
+++ b/miscutils/setsid.c
@@ -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)
diff --git a/miscutils/strings.c b/miscutils/strings.c
index 49f2cf31e..eff1bd947 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -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
diff --git a/miscutils/taskset.c b/miscutils/taskset.c
index b3bf4902e..cd8ffc840 100644
--- a/miscutils/taskset.c
+++ b/miscutils/taskset.c
@@ -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"
diff --git a/miscutils/time.c b/miscutils/time.c
index a45919502..0a2e0b7e2 100644
--- a/miscutils/time.c
+++ b/miscutils/time.c
@@ -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
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c
index 28ae9bdb0..b64291b32 100644
--- a/miscutils/watchdog.c
+++ b/miscutils/watchdog.c
@@ -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