summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
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 22fd39e..9f8227c 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 6896506..803d1d9 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 f52c3cd..8a4b78f 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 c7d1a6c..a490d41 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 02df85b..76c382e 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 1953a94..872b814 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 d1a5163..0b08fb6 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 5d7ef1c..631a344 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 0a689d8..181ac5f 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 d354807..f38c4b8 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 138bd47..3df1f37 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 fce7ea4..0ad12d7 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 e380154..b5ce35c 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 bed2969..2971421 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 c96ce5d..e15cc8c 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 c95b00a..2b65d39 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 601e845..103ce8e 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 df2da2b..f7d55de 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 6e79f34..675aad2 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 1abb545..a976fe9 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 49f2cf3..eff1bd9 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 b3bf490..cd8ffc8 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 a459195..0a2e0b7 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 28ae9bd..b64291b 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