diff options
author | David Schultz <das@FreeBSD.org> | 2009-03-04 15:45:34 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2009-03-04 15:45:34 +0000 |
commit | 5eb167d30630c407fd43bf6811e75c41a66ce197 (patch) | |
tree | eb699ad13a2f1a7a1c58158089b79376170e083f /include/wchar.h | |
parent | 159da68b482b41f5da6434538d2556886deb77d4 (diff) | |
download | src-5eb167d30630c407fd43bf6811e75c41a66ce197.tar.gz src-5eb167d30630c407fd43bf6811e75c41a66ce197.zip |
Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
Notes
Notes:
svn path=/head/; revision=189365
Diffstat (limited to 'include/wchar.h')
-rw-r--r-- | include/wchar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wchar.h b/include/wchar.h index 6165ed1cca1a..9e58f4c2a91c 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -213,8 +213,8 @@ int wcwidth(wchar_t); #if __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t, size_t, mbstate_t * __restrict); -wchar_t *wcpcpy(wchar_t __restrict *, const wchar_t * __restrict); -wchar_t *wcpncpy(wchar_t __restrict *, const wchar_t * __restrict, size_t); +wchar_t *wcpcpy(wchar_t * __restrict, const wchar_t * __restrict); +wchar_t *wcpncpy(wchar_t * __restrict, const wchar_t * __restrict, size_t); wchar_t *wcsdup(const wchar_t *) __malloc_like; int wcscasecmp(const wchar_t *, const wchar_t *); int wcsncasecmp(const wchar_t *, const wchar_t *, size_t n); |