summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcsstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/wcsstr.c')
-rw-r--r--src/lib/libc/string/wcsstr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libc/string/wcsstr.c b/src/lib/libc/string/wcsstr.c
index 6a08b62551..6a7b0dac4a 100644
--- a/src/lib/libc/string/wcsstr.c
+++ b/src/lib/libc/string/wcsstr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: wcsstr.c,v 1.4 2015/09/12 16:23:14 guenther Exp $ */ 1/* $OpenBSD: wcsstr.c,v 1.5 2015/10/01 02:32:07 guenther Exp $ */
2/* $NetBSD: wcsstr.c,v 1.3 2003/03/05 20:18:17 tshiozak Exp $ */ 2/* $NetBSD: wcsstr.c,v 1.3 2003/03/05 20:18:17 tshiozak Exp $ */
3 3
4/*- 4/*-
@@ -43,7 +43,6 @@ wcsstr(const wchar_t *big, const wchar_t *little)
43 const wchar_t *r; 43 const wchar_t *r;
44 44
45 if (!*little) { 45 if (!*little) {
46 /* LINTED interface specification */
47 return (wchar_t *)big; 46 return (wchar_t *)big;
48 } 47 }
49 if (wcslen(big) < wcslen(little)) 48 if (wcslen(big) < wcslen(little))
@@ -61,7 +60,6 @@ wcsstr(const wchar_t *big, const wchar_t *little)
61 r++; 60 r++;
62 } 61 }
63 if (!*q) { 62 if (!*q) {
64 /* LINTED interface specification */
65 return (wchar_t *)p; 63 return (wchar_t *)p;
66 } 64 }
67 p++; 65 p++;