From 05ed50ddfd4567d4bceabc792e9b6ef38ecb1174 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 3 Feb 2025 21:33:17 +0100 Subject: [PATCH] declaring find_connection at the file top --- src/chat/misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chat/misc.c b/src/chat/misc.c index 56e2fbe..2c5ad64 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -67,6 +67,8 @@ enum ENCRYPTION_DECRYPTION why2_list_t connection_list = WHY2_LIST_EMPTY; why2_list_t waiting_list = WHY2_LIST_EMPTY; +why2_node_t *find_connection(int connection); + char *get_string_from_json(struct json_object *json, char *string) { struct json_object *object;