output: add void argument to output_pre_cb_flush()
Since co_create expects a function in the form of "void (*func)(void)",
we need an explicit void argument here.
Otherwise, MSVC complains with the following warning:
warning C4113: 'void (__cdecl *)()' differs in parameter
lists from 'void (__cdecl *)(void)'
@@ -292,7 +292,7 @@ static FLB_INLINE void output_params_set(struct flb_thread *th,
co_switch(th->callee);
}
-static FLB_INLINE void output_pre_cb_flush()
+static FLB_INLINE void output_pre_cb_flush(void)
{
void *data = libco_param.data;
size_t bytes = libco_param.bytes;
