aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r--coreutils/tail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index e352ab627..39f87679e 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -49,13 +49,14 @@
49//usage: "nameserver 10.0.0.1\n" 49//usage: "nameserver 10.0.0.1\n"
50 50
51#include "libbb.h" 51#include "libbb.h"
52#include "common_bufsiz.h"
52 53
53struct globals { 54struct globals {
54 bool from_top; 55 bool from_top;
55 bool exitcode; 56 bool exitcode;
56} FIX_ALIASING; 57} FIX_ALIASING;
57#define G (*(struct globals*)&bb_common_bufsiz1) 58#define G (*(struct globals*)bb_common_bufsiz1)
58#define INIT_G() do { } while (0) 59#define INIT_G() do { setup_common_bufsiz(); } while (0)
59 60
60static void tail_xprint_header(const char *fmt, const char *filename) 61static void tail_xprint_header(const char *fmt, const char *filename)
61{ 62{