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.
This commit is contained in:
Aaron Jones 2021-11-30 19:50:30 +00:00 committed by GitHub
parent bd38559fed
commit 284649441f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -322,7 +322,7 @@ read_packet(rb_fde_t * F, void *data)
* with client_p of "local" variation, which contains all the * with client_p of "local" variation, which contains all the
* necessary fields (buffer etc..) * necessary fields (buffer etc..)
*/ */
void static void
client_dopacket(struct Client *client_p, char *buffer, size_t length) client_dopacket(struct Client *client_p, char *buffer, size_t length)
{ {
s_assert(client_p != NULL); s_assert(client_p != NULL);