]> git.puffer.fish Git - mirror/frr.git/commit
lib: add array_size() helper
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 8 May 2012 11:32:12 +0000 (13:32 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 25 Oct 2012 17:15:59 +0000 (10:15 -0700)
commit80a21dc60fa007bb00437fdc047c3e059232639f
tree884fad4cd756c73e36232b6182e46d85ba64e229
parentf02a09925db53d3e1d29b1917ebbcaa8edf72c12
lib: add array_size() helper

implement array_size as sizeof(array) / sizeof(array element)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/memory.h