summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcsncpy.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-07 04:03:28 +0000
committertjr <tjr@FreeBSD.org>2002-09-07 04:03:28 +0000
commitad5ac67c75cb6f81419d285b0cf5e7bd559c2098 (patch)
treea279e2290fe85a207d939cd961e8e37ddb3a6aee /lib/libc/string/wcsncpy.c
parenta0ad34a541a8755b166e62a1a7c4dd37e05a2e12 (diff)
downloadFreeBSD-src-ad5ac67c75cb6f81419d285b0cf5e7bd559c2098.zip
FreeBSD-src-ad5ac67c75cb6f81419d285b0cf5e7bd559c2098.tar.gz
Add restrict qualifiers where C99 permits them. All of these already had
restrict qualifiers on their prototypes in <wchar.h>.
Diffstat (limited to 'lib/libc/string/wcsncpy.c')
-rw-r--r--lib/libc/string/wcsncpy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/wcsncpy.c b/lib/libc/string/wcsncpy.c
index 8f15565..dc77ee3 100644
--- a/lib/libc/string/wcsncpy.c
+++ b/lib/libc/string/wcsncpy.c
@@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");
wchar_t *
wcsncpy(s1, s2, n)
- wchar_t *s1;
- const wchar_t *s2;
+ wchar_t * __restrict s1;
+ const wchar_t * __restrict s2;
size_t n;
{
wchar_t *p;
OpenPOWER on IntegriCloud