Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
This commit is contained in:
parent
159da68b48
commit
5eb167d306
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189365
@ -213,8 +213,8 @@ int wcwidth(wchar_t);
|
|||||||
#if __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE
|
#if __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE
|
||||||
size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
|
size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
|
||||||
size_t, mbstate_t * __restrict);
|
size_t, mbstate_t * __restrict);
|
||||||
wchar_t *wcpcpy(wchar_t __restrict *, const wchar_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 *wcpncpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
|
||||||
wchar_t *wcsdup(const wchar_t *) __malloc_like;
|
wchar_t *wcsdup(const wchar_t *) __malloc_like;
|
||||||
int wcscasecmp(const wchar_t *, const wchar_t *);
|
int wcscasecmp(const wchar_t *, const wchar_t *);
|
||||||
int wcsncasecmp(const wchar_t *, const wchar_t *, size_t n);
|
int wcsncasecmp(const wchar_t *, const wchar_t *, size_t n);
|
||||||
|
Loading…
Reference in New Issue
Block a user