refactor(ffi): Correctly declare dc_event_channel_new() as having no params (#7831)

In C, `foo()` means that the function accepts an unspecified number of arguments and this is
deprecated.
This commit is contained in:
iequidoo
2026-02-24 12:48:26 -03:00
committed by iequidoo
parent 6a3ef20a99
commit 98b55ec15f

View File

@@ -5959,7 +5959,7 @@ char* dc_jsonrpc_blocking_call(dc_jsonrpc_instance_t* jsonrpc_instance, const ch
* @memberof dc_event_channel_t
* @return An event channel wrapper object (dc_event_channel_t).
*/
dc_event_channel_t* dc_event_channel_new();
dc_event_channel_t* dc_event_channel_new(void);
/**
* Release/free the events channel structure.