From a56781df246f6ed9bbfc6adb41e95b7100772185 Mon Sep 17 00:00:00 2001 From: vctrmn Date: Mon, 3 Mar 2025 17:10:43 +0100 Subject: [PATCH] Fix deprecated warning for non-prototype function declaration in websocket.c --- .gitignore | 1 + facil.io/lib/facil/http/websockets.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6d2d37c..5ac9561 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ scratch .vs/ **/*.perflog wrk/*.png +.zig-cache/ \ No newline at end of file diff --git a/facil.io/lib/facil/http/websockets.c b/facil.io/lib/facil/http/websockets.c index 87353ef..1e882da 100644 --- a/facil.io/lib/facil/http/websockets.c +++ b/facil.io/lib/facil/http/websockets.c @@ -96,7 +96,7 @@ void free_ws_buffer(ws_s *owner, struct buffer_s buff) { Create/Destroy the websocket object (prototypes) */ -static ws_s *new_websocket(); +static ws_s *new_websocket(intptr_t uuid); static void destroy_ws(ws_s *ws); /*******************************************************************************