diff options
author | Ron Yorston <rmy@pobox.com> | 2016-05-16 09:33:03 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2016-05-16 09:33:03 +0100 |
commit | 35d2f5bccb0f3dde600702ebcdb5424d4d50be4a (patch) | |
tree | 6e0ff0341c69839e268459a199682628bae734ed /coreutils/tail.c | |
parent | 248a2600a2f4b442101ad568d1994b908bb28d4b (diff) | |
parent | f2559e5c2b7bd2c5fa0dd8e88d0a931da92a23af (diff) | |
download | busybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.tar.gz busybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.tar.bz2 busybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r-- | coreutils/tail.c | 5 |
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 | ||
53 | struct globals { | 54 | struct 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 | ||
60 | static void tail_xprint_header(const char *fmt, const char *filename) | 61 | static void tail_xprint_header(const char *fmt, const char *filename) |
61 | { | 62 | { |