aboutsummaryrefslogtreecommitdiff
path: root/findutils/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/grep.c')
-rw-r--r--findutils/grep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index b9621384e..10b69275a 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -203,9 +203,7 @@ struct globals {
203} FIX_ALIASING; 203} FIX_ALIASING;
204#define G (*(struct globals*)&bb_common_bufsiz1) 204#define G (*(struct globals*)&bb_common_bufsiz1)
205#define INIT_G() do { \ 205#define INIT_G() do { \
206 struct G_sizecheck { \ 206 BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \
207 char G_sizecheck[sizeof(G) > COMMON_BUFSIZE ? -1 : 1]; \
208 }; \
209} while (0) 207} while (0)
210#define max_matches (G.max_matches ) 208#define max_matches (G.max_matches )
211#if !ENABLE_EXTRA_COMPAT 209#if !ENABLE_EXTRA_COMPAT