From c58bfeb53b9121271d8c3be6d018e1e181c300fa Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Sat, 7 Sep 2002 03:38:13 +0000 Subject: [PATCH] Add restrict qualifiers to wcsstr()'s arguments. --- include/wchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wchar.h b/include/wchar.h index bfb27206752..b49191e4f04 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -144,7 +144,7 @@ wchar_t *wcsrchr(const wchar_t *, wchar_t); size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t, mbstate_t * __restrict); size_t wcsspn(const wchar_t *, const wchar_t *); -wchar_t *wcsstr(const wchar_t *, const wchar_t *); +wchar_t *wcsstr(const wchar_t * __restrict, const wchar_t * __restrict); int wctob(wint_t); wchar_t *wmemchr(const wchar_t *, wchar_t, size_t); int wmemcmp(const wchar_t *, const wchar_t *, size_t);