add INIT_G()'s. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -100,6 +100,7 @@ struct globals {
|
||||
char **args;
|
||||
} FIX_ALIASING;
|
||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||
#define INIT_G() do { } while (0)
|
||||
|
||||
/* forward declarations */
|
||||
static VALUE *eval(void);
|
||||
@ -519,6 +520,8 @@ int expr_main(int argc UNUSED_PARAM, char **argv)
|
||||
{
|
||||
VALUE *v;
|
||||
|
||||
INIT_G();
|
||||
|
||||
xfunc_error_retval = 2; /* coreutils compat */
|
||||
G.args = argv + 1;
|
||||
if (*G.args == NULL) {
|
||||
|
Reference in New Issue
Block a user