From: Florian Forster Date: Thu, 1 Mar 2007 18:59:26 +0000 (+0100) Subject: irq plugin: Fix for non-Linux systems. X-Git-Tag: collectd-4.0.0~161^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a1c44684e780fdc52dcd31d4cff3d89122ee2a84;p=collectd.git irq plugin: Fix for non-Linux systems. --- 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;