diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-21 03:59:15 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-21 03:59:15 +0400 |
commit | 16714245f9a16ce3725aab079aea7b0d28c6b32f (patch) | |
tree | 41edbcd1c279b2baae2d5e5751639076e0a3bfad /coreutils/tail.c | |
parent | 5c6ba6c56f9653488e1d805e727bb06c39ed23fa (diff) |
add INIT_G()'s. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r-- | coreutils/tail.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c index 43cecbd97..b376ec863 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c @@ -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] == '-') |