Skip to content

Commit

Permalink
usage.c: remove reference to busybox.h
Browse files Browse the repository at this point in the history
*: s/include "busybox.h"/include "libbb.h"
  • Loading branch information
Denis Vlasenko committed May 26, 2007
1 parent 5a6aedd commit b6adbf1
Show file tree
Hide file tree
Showing 251 changed files with 270 additions and 269 deletions.
1 change: 0 additions & 1 deletion applets/usage.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <unistd.h>

#include "../include/autoconf.h"
#include "../include/busybox.h"

static const char usage_messages[] = ""
#define MAKE_USAGE
Expand Down
2 changes: 1 addition & 1 deletion archival/ar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion archival/bbunzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion archival/cpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion archival/dpkg.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*
*/

#include "busybox.h"
#include "libbb.h"
#include "unarchive.h"

/* note: if you vary hash_prime sizes be aware,
Expand Down
2 changes: 1 addition & 1 deletion archival/dpkg_deb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion archival/gzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ gzip: bogus: No such file or directory
aa: 85.1% -- replaced with aa.gz
*/

#include "busybox.h"
#include "libbb.h"


/* ===========================================================================
Expand Down
2 changes: 1 addition & 1 deletion archival/rpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion archival/rpm2cpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion archival/tar.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <fnmatch.h>
#include <getopt.h>
#include "busybox.h"
#include "libbb.h"
#include "unarchive.h"

#if ENABLE_FEATURE_TAR_CREATE
Expand Down
2 changes: 1 addition & 1 deletion archival/unzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* - central directory
*/

#include "busybox.h"
#include "libbb.h"
#include "unarchive.h"

#define ZIP_FILEHEADER_MAGIC SWAP_LE32(0x04034b50)
Expand Down
2 changes: 1 addition & 1 deletion console-tools/chvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion console-tools/clear.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <stdio.h>
#include <stdlib.h>
#include "busybox.h"
#include "libbb.h"


int clear_main(int argc, char **argv);
Expand Down
2 changes: 1 addition & 1 deletion console-tools/deallocvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion console-tools/dumpkmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

#include "busybox.h"
#include "libbb.h"

/* From <linux/kd.h> */
struct kbentry {
Expand Down
2 changes: 1 addition & 1 deletion console-tools/loadfont.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion console-tools/loadkmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

#include "busybox.h"
#include "libbb.h"

#define BINARY_KEYMAP_MAGIC "bkeymap"

Expand Down
2 changes: 1 addition & 1 deletion console-tools/openvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion console-tools/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion console-tools/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion console-tools/setconsole.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down
2 changes: 1 addition & 1 deletion console-tools/setkeycodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

#include <sys/ioctl.h>
#include "busybox.h"
#include "libbb.h"


/* From <linux/kd.h> */
Expand Down
2 changes: 1 addition & 1 deletion console-tools/setlogcons.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion coreutils/basename.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */

Expand Down
2 changes: 1 addition & 1 deletion coreutils/cal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion coreutils/cat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */

Expand Down
2 changes: 1 addition & 1 deletion coreutils/catv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion coreutils/chgrp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */

Expand Down
2 changes: 1 addition & 1 deletion coreutils/chmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */

Expand Down
2 changes: 1 addition & 1 deletion coreutils/chown.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */

Expand Down
2 changes: 1 addition & 1 deletion coreutils/chroot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion coreutils/cksum.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion coreutils/cmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* in the '-l' case.
*/

#include "busybox.h"
#include "libbb.h"

static FILE *cmp_xfopen_input(const char *filename)
{
Expand Down
2 changes: 1 addition & 1 deletion coreutils/comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion coreutils/cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Size reduction.
*/

#include "busybox.h"
#include "libbb.h"
#include "libcoreutils/coreutils.h"

/* This is a NOEXEC applet. Be very careful! */
Expand Down
2 changes: 1 addition & 1 deletion coreutils/cut.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */

Expand Down
2 changes: 1 addition & 1 deletion coreutils/date.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion coreutils/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */

Expand Down
2 changes: 1 addition & 1 deletion coreutils/df.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion coreutils/diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion coreutils/dirname.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */

Expand Down
2 changes: 1 addition & 1 deletion coreutils/dos2unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion coreutils/du.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion coreutils/echo.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* The previous version did not allow 4-digit octals.
*/

#include "busybox.h"
#include "libbb.h"

int bb_echo(char **argv)
{
Expand Down
Loading

0 comments on commit b6adbf1

Please sign in to comment.