projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mark unused arguments in the same way throughout the code
[rrdtool.git]
/
src
/
rrd_fetch_libdbi.c
diff --git
a/src/rrd_fetch_libdbi.c
b/src/rrd_fetch_libdbi.c
index
0e8bc93
..
7ca809e
100644
(file)
--- a/
src/rrd_fetch_libdbi.c
+++ b/
src/rrd_fetch_libdbi.c
@@
-1,4
+1,5
@@
#include "rrd_tool.h"
#include "rrd_tool.h"
+#include "unused.h"
#include <dbi/dbi.h>
#include <time.h>
#include <dbi/dbi.h>
#include <time.h>
@@
-365,7
+366,7
@@
static int _inline_unescape (char* string) {
int
rrd_fetch_fn_libdbi(
const char *filename, /* name of the rrd */
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 */
time_t *start,
time_t *end, /* which time frame do you want ?
* will be changed to represent reality */