diff options
Diffstat (limited to 'src/lib/libc/string/wcswidth.c')
| -rw-r--r-- | src/lib/libc/string/wcswidth.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libc/string/wcswidth.c b/src/lib/libc/string/wcswidth.c index c55d9ae72a..ff6b4e1d3e 100644 --- a/src/lib/libc/string/wcswidth.c +++ b/src/lib/libc/string/wcswidth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: wcswidth.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ | 1 | /* $OpenBSD: wcswidth.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */ |
| 2 | /* $NetBSD: wcswidth.c,v 1.2 2001/01/03 14:29:37 lukem Exp $ */ | 2 | /* $NetBSD: wcswidth.c,v 1.2 2001/01/03 14:29:37 lukem Exp $ */ |
| 3 | 3 | ||
| 4 | /*- | 4 | /*- |
| @@ -30,15 +30,13 @@ | |||
| 30 | */ | 30 | */ |
| 31 | 31 | ||
| 32 | #if defined(LIBC_SCCS) && !defined(lint) | 32 | #if defined(LIBC_SCCS) && !defined(lint) |
| 33 | static char *rcsid = "$OpenBSD: wcswidth.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; | 33 | static char *rcsid = "$OpenBSD: wcswidth.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 | int | 38 | int |
| 39 | wcswidth(s, n) | 39 | wcswidth(const wchar_t *s, size_t n) |
| 40 | const wchar_t *s; | ||
| 41 | size_t n; | ||
| 42 | { | 40 | { |
| 43 | int w; | 41 | int w; |
| 44 | 42 | ||
