summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcsncmp.c
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2009-02-03 17:58:20 +0000
committerdanger <danger@FreeBSD.org>2009-02-03 17:58:20 +0000
commitff17de3853153fe69601eac8e59ac2cddc50408a (patch)
treec5d6de4ed720c8bb5b4d132f30cd8fbd28bbeb81 /lib/libc/string/wcsncmp.c
parent074cfd048fafbe7275277f106bc188e6e78a8641 (diff)
downloadFreeBSD-src-ff17de3853153fe69601eac8e59ac2cddc50408a.zip
FreeBSD-src-ff17de3853153fe69601eac8e59ac2cddc50408a.tar.gz
- ANSIfy function definitions
- use nul when we are looking for a terminating character where appropriate Approved by: imp
Diffstat (limited to 'lib/libc/string/wcsncmp.c')
-rw-r--r--lib/libc/string/wcsncmp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/string/wcsncmp.c b/lib/libc/string/wcsncmp.c
index 5b7b3ee..86d7a51 100644
--- a/lib/libc/string/wcsncmp.c
+++ b/lib/libc/string/wcsncmp.c
@@ -39,9 +39,7 @@ __FBSDID("$FreeBSD$");
#include <wchar.h>
int
-wcsncmp(s1, s2, n)
- const wchar_t *s1, *s2;
- size_t n;
+wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
{
if (n == 0)
OpenPOWER on IntegriCloud