| # | Line 12 | Line 12 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 12 | #include <stdio.h> | |
| 13 | #include <stdlib.h> | |
| 14 | #include <ctype.h> | |
| 15 | + | #include <string.h> |
| 16 | + | |
| 17 | /* | |
| 18 | * rexpr.c - regular expression parser (ala grep) | |
| 19 | */ | |
| # | Line 30 | Line 32 | static const char RCSid[] = "$Id$"; | |
| 32 | ||
| 33 | #define same(a,b) (a==b || (iflag && (a^b)==' ' && isalpha(a))) | |
| 34 | ||
| 33 | – | #ifdef BSD |
| 34 | – | #define memcpy(to,from,len) bcopy(from,to,len) |
| 35 | – | #endif |
| 35 | ||
| 36 | static int advance(), cclass(); | |
| 37 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |