diff options
author | Jim Meyering <jim@meyering.net> | 2005-10-24 10:39:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-10-24 10:39:46 +0000 |
commit | 30bf08a3da239bc110e20e61dacd0afa4dc18958 (patch) | |
tree | ff6f31379a3fbd04ca42d207ff60076fc9431778 /src | |
parent | d038ef379ee8c5c222bc59974137c04e56eb3128 (diff) | |
download | coreutils-30bf08a3da239bc110e20e61dacd0afa4dc18958.tar.xz |
rename array_cardinality to array_len
Diffstat (limited to 'src')
-rw-r--r-- | src/dircolors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dircolors.c b/src/dircolors.c index 81749adff..7c4c33a35 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -77,8 +77,8 @@ static const char *const ls_codes[] = "so", "bd", "bd", "cd", "cd", "do", "ex", "lc", "lc", "rc", "rc", "ec", "ec", "su", "su", "sg", "sg", "st", "ow", "ow", "tw", "tw", NULL }; -#define array_cardinality(Array) (sizeof (Array) / sizeof *(Array)) -verify (array_cardinality (slack_codes) == array_cardinality (ls_codes)); +#define array_len(Array) (sizeof (Array) / sizeof *(Array)) +verify (array_len (slack_codes) == array_len (ls_codes)); static struct option const long_options[] = { |