diff options
author | Balaji.G <balajig81@gmail.com> | 2012-09-26 10:39:10 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2012-10-25 19:15:59 +0200 |
commit | 837d16ccbe0fca413f8927da6a34b1e97ccada8a (patch) | |
tree | 7aed5a517b619c03d11bf567f6a14cda6f8f5efe /zebra/test_main.c | |
parent | isisd: don't overrun list of protocols (diff) | |
download | frr-837d16ccbe0fca413f8927da6a34b1e97ccada8a.tar.xz frr-837d16ccbe0fca413f8927da6a34b1e97ccada8a.zip |
*: 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>
Diffstat (limited to 'zebra/test_main.c')
-rw-r--r-- | zebra/test_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/test_main.c b/zebra/test_main.c index 70a1a3a65..a9518637d 100644 --- a/zebra/test_main.c +++ b/zebra/test_main.c @@ -280,7 +280,7 @@ main (int argc, char **argv) zebrad.master = thread_master_create (); /* Vty related initialize. */ - signal_init (zebrad.master, Q_SIGC(zebra_signals), zebra_signals); + signal_init (zebrad.master, array_size(zebra_signals), zebra_signals); cmd_init (1); vty_init (zebrad.master); memory_init (); |