aboutsummaryrefslogtreecommitdiff
path: root/tail.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-18 20:13:18 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-18 20:13:18 +0000
commitaba90261a774cb31898563edbe16da780f7c738b (patch)
tree2cbea90fc04e0f7ae1a4966e90e061495b121da8 /tail.c
parentdf65678873a9c681c6f011d2350c60ac2cb140db (diff)
downloadbusybox-w32-aba90261a774cb31898563edbe16da780f7c738b.tar.gz
busybox-w32-aba90261a774cb31898563edbe16da780f7c738b.tar.bz2
busybox-w32-aba90261a774cb31898563edbe16da780f7c738b.zip
Another patch from Vladimir to eliminate obsolete junk.
git-svn-id: svn://busybox.net/trunk/busybox@1852 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--tail.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tail.c b/tail.c
index a3b8f6d23..778c2d18b 100644
--- a/tail.c
+++ b/tail.c
@@ -37,12 +37,6 @@ static const struct suffix_mult tail_suffixes[] = {
37 { NULL, 0 } 37 { NULL, 0 }
38}; 38};
39 39
40#ifndef BB_FEATURE_SIMPLE_TAIL
41static const struct suffix_mult null_suffixes[] = {
42 { NULL, 0 }
43};
44#endif
45
46static const int BYTES = 0; 40static const int BYTES = 0;
47static const int LINES = 1; 41static const int LINES = 1;
48 42
@@ -96,7 +90,7 @@ int tail_main(int argc, char **argv)
96 hide_headers = 1; 90 hide_headers = 1;
97 break; 91 break;
98 case 's': 92 case 's':
99 sleep_period = parse_number(optarg, null_suffixes); 93 sleep_period = parse_number(optarg, 0);
100 break; 94 break;
101 case 'v': 95 case 'v':
102 show_headers = 1; 96 show_headers = 1;