X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Frrd_open.c;h=4acaa8fd13fa4618e7a2b47393941132f1aa596d;hb=e3be7f72da32514252efa014a2f35538319d098e;hp=87fd76669e727ec08e8d5c15095c72ce42b91d09;hpb=40cc8b00296079815f08c2ff55f134efae83ea69;p=rrdtool.git diff --git a/src/rrd_open.c b/src/rrd_open.c index 87fd766..4acaa8f 100644 --- a/src/rrd_open.c +++ b/src/rrd_open.c @@ -268,6 +268,7 @@ rrd_file_t *rrd_open( } +#if defined DEBUG && DEBUG > 1 /* Print list of in-core pages of a the current rrd_file. */ static void mincore_print( @@ -310,6 +311,7 @@ void mincore_print( fprintf(stderr, "sorry mincore only works with mmap"); #endif } +#endif /* defined DEBUG && DEBUG > 1 */ /* drop cache except for the header and the active pages */