diff options
author | Denis Vlasenko | 2007-06-25 10:55:35 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-06-25 10:55:35 +0000 |
commit | 80b8b39899a09c7516920cda5fd343b3086d4824 (patch) | |
tree | aa9903fd6b64d19c5f640fa302272d85c92b204e /coreutils/od_bloaty.c | |
parent | 1399282b47bb218132a554cbe5b2b0ce4dcc055f (diff) | |
download | busybox-80b8b39899a09c7516920cda5fd343b3086d4824.zip busybox-80b8b39899a09c7516920cda5fd343b3086d4824.tar.gz |
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 3250856..af5eba9 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c @@ -158,7 +158,7 @@ static const signed char width_bytes[] = { initializer in the width_bytes array. */ struct dummy { int assert_width_bytes_matches_size_spec_decl - [sizeof width_bytes / sizeof width_bytes[0] == N_SIZE_SPECS ? 1 : -1]; + [ARRAY_SIZE(width_bytes) == N_SIZE_SPECS ? 1 : -1]; }; static size_t string_min; |