aboutsummaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-23 07:23:46 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-23 07:23:46 +0000
commitfb4dfa0c81812d64197d65f8c0c7e57467e09280 (patch)
tree2443677e21835887f61363ea823668e955b2a5a4 /include/wchar.h
parentd6585e0b91f3348822add766da656eeec0302be0 (diff)
downloadglibc-fb4dfa0c81812d64197d65f8c0c7e57467e09280.zip
glibc-fb4dfa0c81812d64197d65f8c0c7e57467e09280.tar.gz
glibc-fb4dfa0c81812d64197d65f8c0c7e57467e09280.tar.bz2
Add some pure attributes.
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 7187d76..ee12563 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -3,10 +3,13 @@
# ifdef _WCHAR_H
/* Now define the internal interfaces. */
-extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2);
+extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2)
+ __attribute_pure__;
extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
- size_t __n);
-extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen);
+ size_t __n)
+ __attribute_pure__;
+extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen)
+ __attribute_pure__;
extern wint_t __btowc (int __c);
extern int __mbsinit (__const __mbstate_t *__ps);
extern size_t __mbrtowc (wchar_t *__restrict __pwc,
@@ -37,7 +40,8 @@ extern wchar_t *__wmempcpy (wchar_t *__restrict __s1,
size_t __n);
extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2,
size_t __n);
-extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc);
+extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc)
+ __attribute_pure__;
extern int __vfwscanf (FILE *__restrict __s,
__const wchar_t *__restrict __format,