Remove pure attribute from fasticmp

While i assume this to be fine currently, i quite frankly dont trust the srb2 codebase enough aswell as preventing any future issues if there should ever be need to switch locales, since toupper WILL change behaviour in such cases which does not qualify as pure
This commit is contained in:
Alug 2025-12-16 17:50:43 +01:00
parent 05bd3fb222
commit ad78cd5e87

View file

@ -7,7 +7,7 @@ extern "C" {
// returns false if s != c
// returns true if s == c
FUNCINLINE static ATTRINLINE PUREFUNC boolean fasticmp(const char *s, const char *c)
FUNCINLINE static ATTRINLINE boolean fasticmp(const char *s, const char *c)
{
for (; *s && toupper(*s) == toupper(*c); s++, c++) ;
return (*s == *c); // make sure both strings ended