diff options
Diffstat (limited to 'lib/glcontainers.c')
-rw-r--r-- | lib/glcontainers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/glcontainers.c b/lib/glcontainers.c index 732cbe42..cbd635cf 100644 --- a/lib/glcontainers.c +++ b/lib/glcontainers.c @@ -37,12 +37,12 @@ #include "glcontainers.h" -bool string_equals (const void *s1, const void *s2) +bool _GL_ATTRIBUTE_PURE string_equals (const void *s1, const void *s2) { return STREQ ((const char *) s1, (const char *) s2); } -size_t string_hash (const void *s) +size_t _GL_ATTRIBUTE_PURE string_hash (const void *s) { return hash_pjw_bare (s, strlen ((const char *) s)); } |