diff options
Diffstat (limited to 'findutils/grep.c')
-rw-r--r-- | findutils/grep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index 0336b2927..e163e6562 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -211,9 +211,7 @@ struct globals { | |||
211 | } FIX_ALIASING; | 211 | } FIX_ALIASING; |
212 | #define G (*(struct globals*)&bb_common_bufsiz1) | 212 | #define G (*(struct globals*)&bb_common_bufsiz1) |
213 | #define INIT_G() do { \ | 213 | #define INIT_G() do { \ |
214 | struct G_sizecheck { \ | 214 | BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \ |
215 | char G_sizecheck[sizeof(G) > COMMON_BUFSIZE ? -1 : 1]; \ | ||
216 | }; \ | ||
217 | } while (0) | 215 | } while (0) |
218 | #define max_matches (G.max_matches ) | 216 | #define max_matches (G.max_matches ) |
219 | #if !ENABLE_EXTRA_COMPAT | 217 | #if !ENABLE_EXTRA_COMPAT |