From 98b55ec15f3909d4c471afc7832aa8d56160c9f2 Mon Sep 17 00:00:00 2001 From: iequidoo Date: Tue, 24 Feb 2026 12:48:26 -0300 Subject: [PATCH] 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. --- deltachat-ffi/deltachat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 28520aefc..d8579bab7 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -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.