OSDN Git Service

make ARRAY_SIZE commonly available internally
authorMike Frysinger <vapier@gentoo.org>
Sun, 27 Nov 2011 09:10:03 +0000 (04:10 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 27 Nov 2011 09:33:03 +0000 (04:33 -0500)
commit0405cb8f5b647fadf61f7539828ef88a883223e2
treef799c19215d15fd1ce8977135c4c18a35fae15ff
parent9ca7a065beaee93969b39117a7f6d466ff2fb171
make ARRAY_SIZE commonly available internally

Some places have opencoded the ARRAY_SIZE macro, so move it to a global
internal location so other places can leverage it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/libc-internal.h
libc/inet/resolv.c