From de9588a29ed6deda8ced1bab98abccebfe1ee788 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 27 Nov 2024 00:21:14 +0100 Subject: [PATCH] Add missing parameters Fixes build with -std=gnu23 Fixes #974 --- src/server/history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/history.c b/src/server/history.c index 2353bc89..9dc5f979 100644 --- a/src/server/history.c +++ b/src/server/history.c @@ -43,7 +43,7 @@ gint message_compare_id(gconstpointer element, gconstpointer value) return ret; } -gint(*p_msg_comp_id) () = message_compare_id; +gint(*p_msg_comp_id) (gconstpointer element, gconstpointer value) = message_compare_id; char *history_get_client_list() {