summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcsdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/wcsdup.c')
-rw-r--r--src/lib/libc/string/wcsdup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/wcsdup.c b/src/lib/libc/string/wcsdup.c
index 085d1c445d..36f19186ab 100644
--- a/src/lib/libc/string/wcsdup.c
+++ b/src/lib/libc/string/wcsdup.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: wcsdup.c,v 1.2 2014/10/08 05:27:17 deraadt Exp $ */ 1/* $OpenBSD: wcsdup.c,v 1.3 2015/09/12 16:23:14 guenther Exp $ */
2/* $NetBSD: wcsdup.c,v 1.3 2008/05/26 13:17:48 haad Exp $ */ 2/* $NetBSD: wcsdup.c,v 1.3 2008/05/26 13:17:48 haad Exp $ */
3 3
4/* 4/*
@@ -29,3 +29,4 @@ wcsdup(const wchar_t *str)
29 29
30 return (wmemcpy(copy, str, len)); 30 return (wmemcpy(copy, str, len));
31} 31}
32DEF_WEAK(wcsdup);