maint: use ARRAY_CARDINALITY more
authorJim Meyering <meyering@redhat.com>
Sun, 17 May 2009 11:02:25 +0000 (13:02 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 17 May 2009 11:59:12 +0000 (13:59 +0200)
commit9593a3d8e78ece58deab5a30632021322bbc16d0
treea2f3e289371a2d3e78eb2ca3a35c99c0b54c8d4c
parent65ed4ca07bd18c2038b5863ed1e18d3bfc8e696d
maint: use ARRAY_CARDINALITY more

* src/sort.c (main): Use ARRAY_CARDINALITY, rather than open-coding it.
* src/factor.c (WHEEL_END): Likewise.
* src/csplit.c (main): Likewise.
* src/od.c: Likewise,
* src/ls.c (main): Likewise.
(N_ENTRIES): Remove definition.  Use ARRAY_CARDINALITY instead.
* src/dircolors.c: Likewise.
(array_len): Remove definition.
src/csplit.c
src/dircolors.c
src/factor.c
src/ls.c
src/od.c
src/sort.c