aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tail.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-05 17:50:03 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-05 17:50:03 +0000
commit43ee50fbeaed8c5c07474c1665a47791b42663f4 (patch)
treebf64d8b5c0592b0276d5c1c5471df27e7c88607b /coreutils/tail.c
parent6c46934844ef3bfc149c82afa64884389ca783b6 (diff)
downloadbusybox-w32-43ee50fbeaed8c5c07474c1665a47791b42663f4.tar.gz
busybox-w32-43ee50fbeaed8c5c07474c1665a47791b42663f4.tar.bz2
busybox-w32-43ee50fbeaed8c5c07474c1665a47791b42663f4.zip
Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.
git-svn-id: svn://busybox.net/trunk/busybox@1751 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r--coreutils/tail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 40511aa7b..d45b29c4c 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -30,7 +30,7 @@
30#include <unistd.h> 30#include <unistd.h>
31#include <sys/types.h> 31#include <sys/types.h>
32 32
33static struct suffix_mult tail_suffixes[] = { 33static const struct suffix_mult tail_suffixes[] = {
34 { "b", 512 }, 34 { "b", 512 },
35 { "k", 1024 }, 35 { "k", 1024 },
36 { "m", 1048576 }, 36 { "m", 1048576 },
@@ -38,7 +38,7 @@ static struct suffix_mult tail_suffixes[] = {
38}; 38};
39 39
40#ifndef BB_FEATURE_SIMPLE_TAIL 40#ifndef BB_FEATURE_SIMPLE_TAIL
41static struct suffix_mult null_suffixes[] = { 41static const struct suffix_mult null_suffixes[] = {
42 { NULL, 0 } 42 { NULL, 0 }
43}; 43};
44#endif 44#endif