foxygit / doom Log in
commit fde56790b5127d320afa6e2cee6e7a07bc986227
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Dec 11 19:40:55 2018 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Dec 11 19:41:36 2018 +0200

    net: Mark NET_SV_SendConsoleMessage with PRINTF_ATTR
---
 src/net_server.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/net_server.c b/src/net_server.c
index d08c2d9f..49fd7921 100644
--- a/src/net_server.c
+++ b/src/net_server.c
@@ -186,6 +186,7 @@ static boolean ClientConnected(net_client_t *client)

 // Send a message to be displayed on a client's console

+static void NET_SV_SendConsoleMessage(net_client_t *client, const char *s, ...) PRINTF_ATTR(2, 3);
 static void NET_SV_SendConsoleMessage(net_client_t *client, const char *s, ...)
 {
     char buf[1024];