aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-14 16:22:50 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-14 16:22:50 +0000
commitb4f3cff6f5e77ce0a0edb12e6a5811d0063080ca (patch)
treee01a86a4576682a6d5cbcb594c3c7c59fd88d721
parent1e07f852e0f236a0360c5fd44356a2e391185145 (diff)
downloadbusybox-b4f3cff6f5e77ce0a0edb12e6a5811d0063080ca.tar.gz
removed strange extern void xregcomp(... from some applets, but declared from libbb.h
-rw-r--r--editors/awk.c1
-rw-r--r--findutils/grep.c2
-rw-r--r--miscutils/devfsd.c2
3 files changed, 0 insertions, 5 deletions
diff --git a/editors/awk.c b/editors/awk.c
index ed8b0f20f..3ee677304 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -439,7 +439,6 @@ static struct {
} t;
/* function prototypes */
-extern void xregcomp(regex_t *preg, const char *regex, int cflags);
static void handle_special(var *);
static node *parse_expr(unsigned long);
static void chain_group(void);
diff --git a/findutils/grep.c b/findutils/grep.c
index 2a667e37f..e796294f3 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -105,8 +105,6 @@ static void print_line(const char *line, int linenum, char decoration)
puts(line);
}
-extern void xregcomp(regex_t *preg, const char *regex, int cflags);
-
static int grep_file(FILE *file)
{
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 0a6bf14c7..24b91be5c 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -294,8 +294,6 @@ static struct event_type
/* busybox functions and messages */
-extern void xregcomp(regex_t * preg, const char *regex, int cflags);
-
const char * const bb_msg_proto_rev = "protocol revision";
#ifdef CONFIG_DEVFSD_VERBOSE
const char * const bb_msg_bad_config = "bad %s config file: %s\n";