mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
more printf format attributes
This commit is contained in:
parent
05adfd0e53
commit
d7830293a6
2 changed files with 6 additions and 5 deletions
|
@ -29,6 +29,7 @@
|
|||
#ifndef __host_h
|
||||
#define __host_h
|
||||
|
||||
#include "QF/gcc_attr.h"
|
||||
#include "QF/qtypes.h"
|
||||
#include "QF/cvar.h"
|
||||
|
||||
|
@ -63,11 +64,11 @@ void Host_ServerFrame (void);
|
|||
void Host_InitCommands (void);
|
||||
void Host_Init (quakeparms_t *parms);
|
||||
void Host_Shutdown(void);
|
||||
void Host_Error (char *error, ...);
|
||||
void Host_EndGame (char *message, ...);
|
||||
void Host_Error (char *error, ...) __attribute__((format(printf,1,2)));
|
||||
void Host_EndGame (char *message, ...) __attribute__((format(printf,1,2)));
|
||||
void Host_Frame (float time);
|
||||
void Host_Quit_f (void);
|
||||
void Host_ClientCommands (char *fmt, ...);
|
||||
void Host_ClientCommands (char *fmt, ...) __attribute__((format(printf,1,2)));
|
||||
void Host_ShutdownServer (qboolean crash);
|
||||
|
||||
#endif // __host_h
|
||||
|
|
|
@ -274,8 +274,8 @@ void SV_AddUpdates (void);
|
|||
void SV_ClientThink (void);
|
||||
void SV_AddClientToServer (struct qsocket_s *ret);
|
||||
|
||||
void SV_ClientPrintf (char *fmt, ...);
|
||||
void SV_BroadcastPrintf (char *fmt, ...);
|
||||
void SV_ClientPrintf (char *fmt, ...) __attribute__((format(printf,1,2)));
|
||||
void SV_BroadcastPrintf (char *fmt, ...) __attribute__((format(printf,1,2)));
|
||||
|
||||
void SV_Physics (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue