From 61d3cdbb34ed7ebaa9a9a3c4f13595488b80c8f5 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 18 Jul 2011 14:56:57 +0000 Subject: Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton --- src/server/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/server.h b/src/server/server.h index 56f9b1cb..daa0dee7 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -295,7 +295,7 @@ extern cvar_t *sv_voip; // sv_main.c // void SV_FinalMessage (char *message); -void QDECL SV_SendServerCommand( client_t *cl, const char *fmt, ...); +void QDECL SV_SendServerCommand( client_t *cl, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); void SV_AddOperatorCommands (void); -- cgit