diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/dd.c | 2 | ||||
-rw-r--r-- | coreutils/tail.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 582310681..75bbfbac2 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <string.h> | 30 | #include <string.h> |
31 | #include <fcntl.h> | 31 | #include <fcntl.h> |
32 | 32 | ||
33 | static struct suffix_mult dd_suffixes[] = { | 33 | static const struct suffix_mult dd_suffixes[] = { |
34 | { "c", 1 }, | 34 | { "c", 1 }, |
35 | { "w", 2 }, | 35 | { "w", 2 }, |
36 | { "b", 512 }, | 36 | { "b", 512 }, |
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 | ||
33 | static struct suffix_mult tail_suffixes[] = { | 33 | static 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 |
41 | static struct suffix_mult null_suffixes[] = { | 41 | static const struct suffix_mult null_suffixes[] = { |
42 | { NULL, 0 } | 42 | { NULL, 0 } |
43 | }; | 43 | }; |
44 | #endif | 44 | #endif |