diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-25 10:55:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-25 10:55:35 +0000 |
commit | 80b8b39899a09c7516920cda5fd343b3086d4824 (patch) | |
tree | aa9903fd6b64d19c5f640fa302272d85c92b204e /coreutils/od_bloaty.c | |
parent | 1399282b47bb218132a554cbe5b2b0ce4dcc055f (diff) | |
download | busybox-w32-80b8b39899a09c7516920cda5fd343b3086d4824.tar.gz busybox-w32-80b8b39899a09c7516920cda5fd343b3086d4824.tar.bz2 busybox-w32-80b8b39899a09c7516920cda5fd343b3086d4824.zip |
Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms <wharms@bfs.de>)
Diffstat (limited to 'coreutils/od_bloaty.c')
-rw-r--r-- | coreutils/od_bloaty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c index 325085626..af5eba9ce 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c | |||
@@ -158,7 +158,7 @@ static const signed char width_bytes[] = { | |||
158 | initializer in the width_bytes array. */ | 158 | initializer in the width_bytes array. */ |
159 | struct dummy { | 159 | struct dummy { |
160 | int assert_width_bytes_matches_size_spec_decl | 160 | int assert_width_bytes_matches_size_spec_decl |
161 | [sizeof width_bytes / sizeof width_bytes[0] == N_SIZE_SPECS ? 1 : -1]; | 161 | [ARRAY_SIZE(width_bytes) == N_SIZE_SPECS ? 1 : -1]; |
162 | }; | 162 | }; |
163 | 163 | ||
164 | static size_t string_min; | 164 | static size_t string_min; |