fstore: fix args to suppress warning
#include <fluent-bit/flb_sds.h>
#include <chunkio/chunkio.h>
-static int log_cb(struct cio_ctx *ctx, int level, const char *file, int line,
- char *str)
+static void log_cb(void *ctx, int level, const char *file, int line,
+ const char *str)
{
if (level == CIO_LOG_ERROR) {
flb_error("[fstore] %s", str);
@@ -39,8 +39,6 @@ static int log_cb(struct cio_ctx *ctx, int level, const char *file, int line,
else if (level == CIO_LOG_DEBUG) {
flb_debug("[fstore] %s", str);
}
-
- return 0;
}
/*
