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 @@ #include <string.h> #include <fcntl.h> -static struct suffix_mult dd_suffixes[] = { +static const struct suffix_mult dd_suffixes[] = { { "c", 1 }, { "w", 2 }, { "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 @@ #include <unistd.h> #include <sys/types.h> -static struct suffix_mult tail_suffixes[] = { +static const struct suffix_mult tail_suffixes[] = { { "b", 512 }, { "k", 1024 }, { "m", 1048576 }, @@ -38,7 +38,7 @@ static struct suffix_mult tail_suffixes[] = { }; #ifndef BB_FEATURE_SIMPLE_TAIL -static struct suffix_mult null_suffixes[] = { +static const struct suffix_mult null_suffixes[] = { { NULL, 0 } }; #endif |