diff --git a/src/rrd_fetch_libdbi.c b/src/rrd_fetch_libdbi.c
index 0e8bc939b32eab0bdc5c4999241fdaebb25be7ba..7ca809e34f613193ddc04ae97abaaccdaaf84c42 100644 (file)
--- a/src/rrd_fetch_libdbi.c
+++ b/src/rrd_fetch_libdbi.c
#include "rrd_tool.h"
+#include "unused.h"
#include <dbi/dbi.h>
#include <time.h>
int
rrd_fetch_fn_libdbi(
const char *filename, /* name of the rrd */
- enum cf_en cf_idx __attribute__((unused)), /* consolidation function */
+ enum cf_en UNUSED(cf_idx), /* consolidation function */
time_t *start,
time_t *end, /* which time frame do you want ?
* will be changed to represent reality */