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 --- babeld/babel_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'babeld') diff --git a/babeld/babel_main.c b/babeld/babel_main.c index 2f3b5552..7b1d8799 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -444,7 +444,7 @@ babel_init_signals(void) }, }; - signal_init (master, Q_SIGC(babel_signals), babel_signals); + signal_init (master, array_size(babel_signals), babel_signals); } static void -- cgit v1.2.1