From a1c44684e780fdc52dcd31d4cff3d89122ee2a84 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 1 Mar 2007 19:59:26 +0100 Subject: [PATCH] irq plugin: Fix for non-Linux systems. --- src/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irq.c b/src/irq.c index 5826dc3d..6c30e95a 100644 --- a/src/irq.c +++ b/src/irq.c @@ -48,6 +48,7 @@ static data_set_t ds_irq = "irq", 1, dsrc_irq }; +#if IRQ_HAVE_READ static const char *config_keys[] = { "Irq", @@ -55,7 +56,6 @@ static const char *config_keys[] = }; static int config_keys_num = STATIC_ARRAY_SIZE (config_keys); -#if IRQ_HAVE_READ static unsigned int *irq_list; static unsigned int irq_list_num; -- 2.11.0