1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

Fix deprecated warning for non-prototype function declaration in websocket.c

This commit is contained in:
vctrmn 2025-03-03 17:10:43 +01:00
parent 2529ae7105
commit a56781df24
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -15,3 +15,4 @@ scratch
.vs/
**/*.perflog
wrk/*.png
.zig-cache/

View file

@ -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);
/*******************************************************************************