summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-26 19:00:18 +0000
committerDenis Vlasenko2007-05-26 19:00:18 +0000
commitb6adbf1be29841501cc49917249e85f273e1df7c (patch)
treee28a5603e6009b2479e949b8b9b4aa0620fed400 /editors
parent5a6aeddfa7262e41802c77f70c9ef88e9c2c2476 (diff)
downloadbusybox-b6adbf1be29841501cc49917249e85f273e1df7c.zip
busybox-b6adbf1be29841501cc49917249e85f273e1df7c.tar.gz
usage.c: remove reference to busybox.h
*: s/include "busybox.h"/include "libbb.h"
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c2
-rw-r--r--editors/ed.c2
-rw-r--r--editors/patch.c6
-rw-r--r--editors/sed.c2
-rw-r--r--editors/vi.c2
5 files changed, 6 insertions, 8 deletions
diff --git a/editors/awk.c b/editors/awk.c
index 2d6773b..ea326ec 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -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;
diff --git a/editors/ed.c b/editors/ed.c
index 1706e42..731aef1 100644
--- a/editors/ed.c
+++ b/editors/ed.c
@@ -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
diff --git a/editors/patch.c b/editors/patch.c
index 11b2f25..f65bbf4 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -20,10 +20,8 @@
*/
#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)
{
diff --git a/editors/sed.c b/editors/sed.c
index 4dd5331..b3c4430 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -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. */
diff --git a/editors/vi.c b/editors/vi.c
index 66b01e2..97ca802 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -21,7 +21,7 @@
* An "ex" line oriented mode- maybe using "cmdedit"
*/
-#include "busybox.h"
+#include "libbb.h"
#define ENABLE_FEATURE_VI_CRASHME 0