summaryrefslogtreecommitdiffstats
path: root/lib/sigevent.h
diff options
context:
space:
mode:
authorBalaji.G <balajig81@gmail.com>2012-09-26 10:39:10 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2012-10-25 19:15:59 +0200
commit837d16ccbe0fca413f8927da6a34b1e97ccada8a (patch)
tree7aed5a517b619c03d11bf567f6a14cda6f8f5efe /lib/sigevent.h
parentisisd: don't overrun list of protocols (diff)
downloadfrr-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 'lib/sigevent.h')
-rw-r--r--lib/sigevent.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sigevent.h b/lib/sigevent.h
index 62b944a7c..248fa2c05 100644
--- a/lib/sigevent.h
+++ b/lib/sigevent.h
@@ -27,7 +27,6 @@
#include <thread.h>
#define QUAGGA_SIGNAL_TIMER_INTERVAL 2L
-#define Q_SIGC(sig) (sizeof(sig)/sizeof(sig[0]))
struct quagga_signal_t
{