From 80b8b39899a09c7516920cda5fd343b3086d4824 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 25 Jun 2007 10:55:35 +0000 Subject: Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ) --- coreutils/od_bloaty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/od_bloaty.c') 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[] = { 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; -- cgit v1.2.3