]> git.puffer.fish Git - matthieu/frr.git/commit
*: use array_size() helper macro
authorBalaji.G <balajig81@gmail.com>
Wed, 26 Sep 2012 08:39:10 +0000 (14:09 +0530)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 25 Oct 2012 17:15:59 +0000 (10:15 -0700)
commit837d16ccbe0fca413f8927da6a34b1e97ccada8a
tree7aed5a517b619c03d11bf567f6a14cda6f8f5efe
parent655071f44aab42e89bcece3a93da456fdd0d913a
*: use array_size() helper macro

Use the array_size() helper macro.  Replaces several instances of local
macros with the same definition.

Reviewed-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
22 files changed:
babeld/babel_main.c
bgpd/bgp_attr.c
bgpd/bgp_main.c
bgpd/bgp_open.c
isisd/isis_main.c
lib/buffer.c
lib/log.c
lib/sigevent.c
lib/sigevent.h
ospf6d/ospf6_main.c
ospf6d/ospf6_message.c
ospfd/ospf_api.c
ospfd/ospf_main.c
ripd/rip_main.c
ripngd/ripng_main.c
tests/test-sig.c
vtysh/vtysh.c
watchquagga/watchquagga.c
zebra/main.c
zebra/rt_netlink.c
zebra/test_main.c
zebra/zebra_rib.c