aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/dd.c2
-rw-r--r--coreutils/head.c2
-rw-r--r--coreutils/od_bloaty.c4
-rw-r--r--coreutils/sleep.c2
-rw-r--r--coreutils/split.c2
-rw-r--r--coreutils/stty.c8
-rw-r--r--coreutils/tail.c2
7 files changed, 11 insertions, 11 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 75cf3732e..7247f55e0 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -25,7 +25,7 @@ static const struct suffix_mult dd_suffixes[] = {
25 { "M", 1048576 }, 25 { "M", 1048576 },
26 { "GD", 1000000000 }, 26 { "GD", 1000000000 },
27 { "G", 1073741824 }, 27 { "G", 1073741824 },
28 { NULL, 0 } 28 { }
29}; 29};
30 30
31struct globals { 31struct globals {
diff --git a/coreutils/head.c b/coreutils/head.c
index 1700af27a..bffba4043 100644
--- a/coreutils/head.c
+++ b/coreutils/head.c
@@ -25,7 +25,7 @@ static const struct suffix_mult head_suffixes[] = {
25 { "b", 512 }, 25 { "b", 512 },
26 { "k", 1024 }, 26 { "k", 1024 },
27 { "m", 1024*1024 }, 27 { "m", 1024*1024 },
28 { NULL, 0 } 28 { }
29}; 29};
30#endif 30#endif
31 31
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c
index 803407224..e30860544 100644
--- a/coreutils/od_bloaty.c
+++ b/coreutils/od_bloaty.c
@@ -981,7 +981,7 @@ parse_old_offset(const char *s, off_t *offset)
981 static const struct suffix_mult Bb[] = { 981 static const struct suffix_mult Bb[] = {
982 { "B", 1024 }, 982 { "B", 1024 },
983 { "b", 512 }, 983 { "b", 512 },
984 { NULL, 0 } 984 { }
985 }; 985 };
986 char *p; 986 char *p;
987 int radix; 987 int radix;
@@ -1204,7 +1204,7 @@ int od_main(int argc, char **argv)
1204 { "b", 512 }, 1204 { "b", 512 },
1205 { "k", 1024 }, 1205 { "k", 1024 },
1206 { "m", 1024*1024 }, 1206 { "m", 1024*1024 },
1207 { NULL, 0 } 1207 { }
1208 }; 1208 };
1209 unsigned opt; 1209 unsigned opt;
1210 int l_c_m; 1210 int l_c_m;
diff --git a/coreutils/sleep.c b/coreutils/sleep.c
index e9a30daf2..26cdbc470 100644
--- a/coreutils/sleep.c
+++ b/coreutils/sleep.c
@@ -29,7 +29,7 @@ static const struct suffix_mult sfx[] = {
29 { "m", 60 }, 29 { "m", 60 },
30 { "h", 60*60 }, 30 { "h", 60*60 },
31 { "d", 24*60*60 }, 31 { "d", 24*60*60 },
32 { NULL, 0 } 32 { }
33}; 33};
34#endif 34#endif
35 35
diff --git a/coreutils/split.c b/coreutils/split.c
index 7b4f8c2c0..d1eb82955 100644
--- a/coreutils/split.c
+++ b/coreutils/split.c
@@ -20,7 +20,7 @@ static const struct suffix_mult split_suffices[] = {
20#if ENABLE_FEATURE_SPLIT_FANCY 20#if ENABLE_FEATURE_SPLIT_FANCY
21 { "g", 1024*1024*1024 }, 21 { "g", 1024*1024*1024 },
22#endif 22#endif
23 { NULL, 0 } 23 { }
24}; 24};
25 25
26/* Increment the suffix part of the filename. 26/* Increment the suffix part of the filename.
diff --git a/coreutils/stty.c b/coreutils/stty.c
index b73e2eace..fbb72baa9 100644
--- a/coreutils/stty.c
+++ b/coreutils/stty.c
@@ -524,10 +524,10 @@ static void display_window_size(const int fancy)
524} 524}
525 525
526static const struct suffix_mult stty_suffixes[] = { 526static const struct suffix_mult stty_suffixes[] = {
527 {"b", 512 }, 527 { "b", 512 },
528 {"k", 1024}, 528 { "k", 1024 },
529 {"B", 1024}, 529 { "B", 1024 },
530 {NULL, 0 } 530 { }
531}; 531};
532 532
533static const struct mode_info *find_mode(const char *name) 533static const struct mode_info *find_mode(const char *name)
diff --git a/coreutils/tail.c b/coreutils/tail.c
index e0d21ed34..01469169a 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -30,7 +30,7 @@ static const struct suffix_mult tail_suffixes[] = {
30 { "b", 512 }, 30 { "b", 512 },
31 { "k", 1024 }, 31 { "k", 1024 },
32 { "m", 1024*1024 }, 32 { "m", 1024*1024 },
33 { NULL, 0 } 33 { }
34}; 34};
35 35
36struct globals { 36struct globals {