diff options
author | espie <> | 2005-06-19 22:12:07 +0000 |
---|---|---|
committer | espie <> | 2005-06-19 22:12:07 +0000 |
commit | dd611c3aaf84a5329ce7642bf97e61f4fa7f2d65 (patch) | |
tree | 4449ef0e49aca9138958d50858c3ce50255544ca /src/lib/libc/string/wcsstr.c | |
parent | 7019160947103ed769aa02b61ad609c0822a53cc (diff) | |
download | openbsd-dd611c3aaf84a5329ce7642bf97e61f4fa7f2d65.tar.gz openbsd-dd611c3aaf84a5329ce7642bf97e61f4fa7f2d65.tar.bz2 openbsd-dd611c3aaf84a5329ce7642bf97e61f4fa7f2d65.zip |
K&R -> ANSI
APIWARN
okay millert@, otto@
Diffstat (limited to 'src/lib/libc/string/wcsstr.c')
-rw-r--r-- | src/lib/libc/string/wcsstr.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libc/string/wcsstr.c b/src/lib/libc/string/wcsstr.c index 992b5cab0f..9f3303004a 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.1 2005/04/13 16:35:58 espie Exp $ */ | 1 | /* $OpenBSD: wcsstr.c,v 1.2 2005/06/19 22:12:07 espie 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 | /*- |
@@ -30,19 +30,17 @@ | |||
30 | */ | 30 | */ |
31 | 31 | ||
32 | #if defined(LIBC_SCCS) && !defined(lint) | 32 | #if defined(LIBC_SCCS) && !defined(lint) |
33 | static char *rcsid = "$OpenBSD: wcsstr.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; | 33 | static char *rcsid = "$OpenBSD: wcsstr.c,v 1.2 2005/06/19 22:12:07 espie Exp $"; |
34 | #endif /* LIBC_SCCS and not lint */ | 34 | #endif /* LIBC_SCCS and not lint */ |
35 | 35 | ||
36 | #include <wchar.h> | 36 | #include <wchar.h> |
37 | 37 | ||
38 | wchar_t * | 38 | wchar_t * |
39 | #ifdef WCSWCS | 39 | #ifdef WCSWCS |
40 | wcswcs(big, little) | 40 | wcswcs(const wchar_t *big, const wchar_t *little) |
41 | #else | 41 | #else |
42 | wcsstr(big, little) | 42 | wcsstr(const wchar_t *big, const wchar_t *little) |
43 | #endif | 43 | #endif |
44 | const wchar_t *big; | ||
45 | const wchar_t *little; | ||
46 | { | 44 | { |
47 | const wchar_t *p; | 45 | const wchar_t *p; |
48 | const wchar_t *q; | 46 | const wchar_t *q; |