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 ed8b0f20f5abfd1557766c962637623313a7663a..3ee6773046be259c141439649813bb4bdbb5abad 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 2a667e37f819b66a89e1d1e2784891c294f9b348..e796294f3b73f1d664ad635a719f8ffece41a8c4 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 0a6bf14c73d50319f1a25a9cfaad4499b2c34fe7..24b91be5cb222b428d21c929de8f72248ff6c351 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";