From 837d16ccbe0fca413f8927da6a34b1e97ccada8a Mon Sep 17 00:00:00 2001 From: "Balaji.G" Date: Wed, 26 Sep 2012 14:09:10 +0530 Subject: *: 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 Signed-off-by: David Lamparter --- isisd/isis_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isisd') diff --git a/isisd/isis_main.c b/isisd/isis_main.c index f5266aa2..dcbc3de9 100644 --- a/isisd/isis_main.c +++ b/isisd/isis_main.c @@ -325,7 +325,7 @@ main (int argc, char **argv, char **envp) * initializations */ zprivs_init (&isisd_privs); - signal_init (master, Q_SIGC (isisd_signals), isisd_signals); + signal_init (master, array_size (isisd_signals), isisd_signals); cmd_init (1); vty_init (master); memory_init (); -- cgit v1.2.1