summaryrefslogtreecommitdiff
path: root/src/string/wcsstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/wcsstr.c')
-rw-r--r--src/string/wcsstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/wcsstr.c b/src/string/wcsstr.c
index fc4bacec..037d0965 100644
--- a/src/string/wcsstr.c
+++ b/src/string/wcsstr.c
@@ -93,7 +93,7 @@ static wchar_t *twoway_wcsstr(const wchar_t *h, const wchar_t *n)
}
}
-wchar_t *wcsstr(const wchar_t *h, const wchar_t *n)
+wchar_t *wcsstr(const wchar_t *restrict h, const wchar_t *restrict n)
{
/* Return immediately on empty needle or haystack */
if (!n[0]) return (wchar_t *)h;