summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-07-04 04:37:35 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-07-04 04:37:35 +0000
commit285246c1086ef421e4eef5d5c7c5016b85d3053e (patch)
tree63ff2309595f1a2f50606a3d4f6b18ba611949fa /include/wchar.h
parente03be1c13da2627f88815c4221fd7aea1ef8f515 (diff)
Add wcsdup(), from NetBSD.
ok deraadt matthew
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index b590b7a8fed..026e4cff315 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wchar.h,v 1.18 2011/07/03 18:51:01 jsg Exp $ */
+/* $OpenBSD: wchar.h,v 1.19 2011/07/04 04:37:34 nicm Exp $ */
/* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */
/*-
@@ -148,6 +148,7 @@ unsigned long int wcstoul(const wchar_t * __restrict, wchar_t ** __restrict,
int base);
#if __POSIX_VISIBLE >= 200809
+wchar_t *wcsdup(const wchar_t *);
int wcscasecmp(const wchar_t *, const wchar_t *);
int wcsncasecmp(const wchar_t *, const wchar_t *, size_t);
#endif