diff --git a/include/QF/qfplist.h b/include/QF/qfplist.h index 3f22a9e16..8f8db669f 100644 --- a/include/QF/qfplist.h +++ b/include/QF/qfplist.h @@ -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);