X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_open.c;h=59526d8b4c3ae3c49582afbd6da2ee440e500123;hp=dba4ca6fbebbefca9788586786301b104890e1c6;hb=cd6581d4edf9cd9c73f023eb9b1f5529959bf816;hpb=8a092a1ac0d22448114c29c2d872769340965132 diff --git a/src/rrd_open.c b/src/rrd_open.c index dba4ca6..59526d8 100644 --- a/src/rrd_open.c +++ b/src/rrd_open.c @@ -6,10 +6,16 @@ * $Id$ *****************************************************************************/ +#ifdef WIN32 #include #include #include +#endif + +#ifdef HAVE_BROKEN_MS_ASYNC +#include #include +#endif #include "rrd_tool.h" #include "unused.h" @@ -669,6 +675,13 @@ ssize_t rrd_write( } +/* this is a leftover from the old days, it serves no purpose + and is therefore turned into a no-op */ +void rrd_flush( + rrd_file_t *rrd_file __attribute__((unused))) +{ +} + /* Initialize RRD header. */ void rrd_init(