From b4f3cff6f5e77ce0a0edb12e6a5811d0063080ca Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Wed, 14 Sep 2005 16:22:50 +0000 Subject: removed strange extern void xregcomp(... from some applets, but declared from libbb.h --- editors/awk.c | 1 - findutils/grep.c | 2 -- miscutils/devfsd.c | 2 -- 3 files changed, 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"; -- cgit v1.2.3