|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: wcsstr.c,v 1.4 2015/09/12 16:23:14 guenther Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: wcsstr.c,v 1.5 2015/10/01 02:32:07 guenther Exp $ */ |
|
|
/* $NetBSD: wcsstr.c,v 1.3 2003/03/05 20:18:17 tshiozak Exp $ */ |
|
|
/* $NetBSD: wcsstr.c,v 1.3 2003/03/05 20:18:17 tshiozak Exp $ */ |
|
|
|
|
|
|
|
|
/*- |
|
|
/*- |
|
@ -43,7 +43,6 @@ wcsstr(const wchar_t *big, const wchar_t *little) |
|
|
const wchar_t *r; |
|
|
const wchar_t *r; |
|
|
|
|
|
|
|
|
if (!*little) { |
|
|
if (!*little) { |
|
|
/* LINTED interface specification */ |
|
|
|
|
|
return (wchar_t *)big; |
|
|
return (wchar_t *)big; |
|
|
} |
|
|
} |
|
|
if (wcslen(big) < wcslen(little)) |
|
|
if (wcslen(big) < wcslen(little)) |
|
@ -61,7 +60,6 @@ wcsstr(const wchar_t *big, const wchar_t *little) |
|
|
r++; |
|
|
r++; |
|
|
} |
|
|
} |
|
|
if (!*q) { |
|
|
if (!*q) { |
|
|
/* LINTED interface specification */ |
|
|
|
|
|
return (wchar_t *)p; |
|
|
return (wchar_t *)p; |
|
|
} |
|
|
} |
|
|
p++; |
|
|
p++; |
|
|