aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/wchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index b7b63baadc..e8aae7ad7b 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -266,7 +266,7 @@ extern int wctob (wint_t __c) __THROW;
/* Determine whether PS points to an object representing the initial
state. */
-extern int mbsinit (__const mbstate_t *__ps) __THROW;
+extern int mbsinit (__const mbstate_t *__ps) __THROW __attribute_pure__;
/* Write wide character representation of multibyte character pointed
to by S to PWC. */