Skip to content

Commit

Permalink
Fix deprecated warning for non-prototype function declaration in webs…
Browse files Browse the repository at this point in the history
…ocket.c
  • Loading branch information
vctrmn committed Mar 3, 2025
1 parent 2529ae7 commit a56781d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ scratch
.vs/
**/*.perflog
wrk/*.png
.zig-cache/
2 changes: 1 addition & 1 deletion facil.io/lib/facil/http/websockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*******************************************************************************
Expand Down

0 comments on commit a56781d

Please sign in to comment.