shithub: choc

Download patch

ref: fde56790b5127d320afa6e2cee6e7a07bc986227
parent: 30673d2389ddc5aa501b1feeb5fba16c7ff12802
author: Turo Lamminen <turotl@gmail.com>
date: Tue Dec 11 14:40:55 EST 2018

net: Mark NET_SV_SendConsoleMessage with PRINTF_ATTR

--- a/src/net_server.c
+++ b/src/net_server.c
@@ -186,6 +186,7 @@
 
 // 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];