input: add void argument to input_pre_cb_collect()
This fixes the following warning on MSVC:
warning C4113: 'void (__cdecl *)()' differs in parameter
lists from 'void (__cdecl *)(void)'
Since this function is passed to libco and cb_collect() expects a
function with void argument, we'd better add a explicit void here.
@@ -369,7 +369,7 @@ static FLB_INLINE void input_params_set(struct flb_thread *th,
co_switch(th->callee);
}
-static FLB_INLINE void input_pre_cb_collect()
+static FLB_INLINE void input_pre_cb_collect(void)
{
struct flb_input_collector *coll = libco_in_param.coll;
struct flb_config *config = libco_in_param.config;
