From ff17de3853153fe69601eac8e59ac2cddc50408a Mon Sep 17 00:00:00 2001 From: danger Date: Tue, 3 Feb 2009 17:58:20 +0000 Subject: - ANSIfy function definitions - use nul when we are looking for a terminating character where appropriate Approved by: imp --- lib/libc/string/wcscpy.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/libc/string/wcscpy.c') diff --git a/lib/libc/string/wcscpy.c b/lib/libc/string/wcscpy.c index 180bbd1..0c6e1f2 100644 --- a/lib/libc/string/wcscpy.c +++ b/lib/libc/string/wcscpy.c @@ -37,9 +37,7 @@ __FBSDID("$FreeBSD$"); #include wchar_t * -wcscpy(s1, s2) - wchar_t * __restrict s1; - const wchar_t * __restrict s2; +wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) { wchar_t *cp; -- cgit v1.1