mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 08:41:11 +00:00
Do a pure/const/noreturn/format attribute pass.
I always wanted these, but as gcc now provides warnings for functions that could do with such attributes, finding all the functions is much easier.
This commit is contained in:
parent
05fd2d8cdd
commit
34bcf7faab
118 changed files with 332 additions and 314 deletions
|
@ -71,7 +71,7 @@ extern vrect_t scr_vrect;
|
|||
|
||||
extern qboolean scr_skipupdate;
|
||||
|
||||
float CalcFov (float fov_x, float width, float height);
|
||||
float CalcFov (float fov_x, float width, float height) __attribute__((const));
|
||||
void SCR_SetUpToDrawConsole (void);
|
||||
void SCR_ScreenShot_f (void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue