--- snapgear-3.1.0/snapgear/user/busybox/grep.c 2004-02-17 23:59:43.000000000 +1100 +++ snapgear-3.1.0-ixdp/snapgear/user/busybox/grep.c 2004-03-30 13:14:50.000000000 +1000 @@ -213,10 +213,11 @@ matched = 1; } +/* grep_main() refers to this variable */ +int reflags = 0; static void add_regex(const char *restr) { - int reflags; #if defined(__UC_LIBC__) reflags = 0;