aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 9c4c8e148..330190e78 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -86,6 +86,7 @@
86//usage: "bar\n" 86//usage: "bar\n"
87 87
88#include "libbb.h" 88#include "libbb.h"
89#include "common_bufsiz.h"
89#include "xregex.h" 90#include "xregex.h"
90 91
91#if 0 92#if 0
@@ -161,7 +162,7 @@ struct globals {
161 int len; /* Space allocated */ 162 int len; /* Space allocated */
162 } pipeline; 163 } pipeline;
163} FIX_ALIASING; 164} FIX_ALIASING;
164#define G (*(struct globals*)&bb_common_bufsiz1) 165#define G (*(struct globals*)bb_common_bufsiz1)
165#define INIT_G() do { \ 166#define INIT_G() do { \
166 BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \ 167 BUILD_BUG_ON(sizeof(G) > COMMON_BUFSIZE); \
167 G.sed_cmd_tail = &G.sed_cmd_head; \ 168 G.sed_cmd_tail = &G.sed_cmd_head; \