diff options
author | das <das@FreeBSD.org> | 2009-03-04 15:45:34 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-03-04 15:45:34 +0000 |
commit | 2ea73058a405a12b39bf427a7cfadb905270d7e2 (patch) | |
tree | eb699ad13a2f1a7a1c58158089b79376170e083f /include/wchar.h | |
parent | 6fdd21961f9241fa4dcf9f7c903939c4005d3586 (diff) | |
download | FreeBSD-src-2ea73058a405a12b39bf427a7cfadb905270d7e2.zip FreeBSD-src-2ea73058a405a12b39bf427a7cfadb905270d7e2.tar.gz |
Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
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 6165ed1..9e58f4c 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); |