From 2ea73058a405a12b39bf427a7cfadb905270d7e2 Mon Sep 17 00:00:00 2001 From: das Date: Wed, 4 Mar 2009 15:45:34 +0000 Subject: Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes. Submitted by: Pawel Worach --- include/wchar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/wchar.h') 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); -- cgit v1.1