summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-07-18 14:56:57 +0000
committerTim Angus <tim@ngus.net>2013-01-10 22:30:51 +0000
commit61d3cdbb34ed7ebaa9a9a3c4f13595488b80c8f5 (patch)
treed44aabf9275f27eacbf6b877eed878a4ae3ee671 /src/server
parent2e4f58b4422995f703e51aa92a7e49d0d0664f00 (diff)
Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
Diffstat (limited to 'src/server')
-rw-r--r--src/server/server.h2
1 files changed, 1 insertions, 1 deletions
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);