mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 18:31:27 +00:00
[util] Mark PL_CheckType as const
I keep forgetting to do optimized builds :(
This commit is contained in:
parent
3b06ca01af
commit
d4277ef130
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ plitem_t *PL_NewString (const char *str);
|
|||
*/
|
||||
void PL_Free (plitem_t *item);
|
||||
|
||||
int PL_CheckType (pltype_t field_type, pltype_t item_type);
|
||||
int PL_CheckType (pltype_t field_type, pltype_t item_type) __attribute__((const));
|
||||
void PL_TypeMismatch (plitem_t *messages, const plitem_t *item,
|
||||
const char *name, pltype_t field_type,
|
||||
pltype_t item_type);
|
||||
|
|
Loading…
Reference in a new issue