From 284649441f4e6b395e8accf34a0fd6885f6ae94c Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Tue, 30 Nov 2021 19:50:30 +0000 Subject: [PATCH] ircd/packet.c: make function definition consistent with declaration (#301) This function has a static forward-declaration, and is not used outside this compilation unit. However, the definition was non-static. Fix this. --- ircd/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/packet.c b/ircd/packet.c index af3b95da..ee842955 100644 --- a/ircd/packet.c +++ b/ircd/packet.c @@ -322,7 +322,7 @@ read_packet(rb_fde_t * F, void *data) * with client_p of "local" variation, which contains all the * necessary fields (buffer etc..) */ -void +static void client_dopacket(struct Client *client_p, char *buffer, size_t length) { s_assert(client_p != NULL);