add INIT_G()'s. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -62,6 +62,7 @@ struct globals {
|
||||
bool exitcode;
|
||||
} FIX_ALIASING;
|
||||
#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||
#define INIT_G() do { } while (0)
|
||||
|
||||
static void tail_xprint_header(const char *fmt, const char *filename)
|
||||
{
|
||||
@@ -120,6 +121,8 @@ int tail_main(int argc, char **argv)
|
||||
int *fds;
|
||||
const char *fmt;
|
||||
|
||||
INIT_G();
|
||||
|
||||
#if ENABLE_INCLUDE_SUSv2 || ENABLE_FEATURE_FANCY_TAIL
|
||||
/* Allow legacy syntax of an initial numeric option without -n. */
|
||||
if (argv[1] && (argv[1][0] == '+' || argv[1][0] == '-')
|
||||
|
||||
Reference in New Issue
Block a user