removed strange extern void xregcomp(... from some applets, but declared from libbb.h
author"Vladimir N. Oleynik" <dzo@simtreas.ru>
Wed, 14 Sep 2005 16:22:50 +0000 (16:22 -0000)
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>
Wed, 14 Sep 2005 16:22:50 +0000 (16:22 -0000)
editors/awk.c
findutils/grep.c
miscutils/devfsd.c

index ed8b0f2..3ee6773 100644 (file)
@@ -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);
index 2a667e3..e796294 100644 (file)
@@ -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)
 {
index 0a6bf14..24b91be 100644 (file)
@@ -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";