summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-01-13 18:18:32 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-01-13 18:18:32 +0000
commit29ad94053136b52b4d06a5e9d5acd8f81c8ac857 (patch)
treeddf7c3dbe7611dc40294f10e0389934ca6650ab0 /include
parent93ae206d29a685964b804442570adc0c66d857cb (diff)
Add wcstof(3) and wcstold(3).
ok miod@
Diffstat (limited to 'include')
-rw-r--r--include/wchar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 8a2397f6366..3c2e60ed7e7 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wchar.h,v 1.9 2008/06/26 05:42:04 ray Exp $ */
+/* $OpenBSD: wchar.h,v 1.10 2009/01/13 18:18:31 kettenis Exp $ */
/* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */
/*-
@@ -146,6 +146,11 @@ long int wcstol(const wchar_t * __restrict, wchar_t ** __restrict, int base);
unsigned long int wcstoul(const wchar_t * __restrict, wchar_t ** __restrict,
int base);
+#if __ISO_C_VISIBLE >= 1999
+float wcstof(const wchar_t * __restrict, wchar_t ** __restrict);
+long double wcstold(const wchar_t * __restrict, wchar_t ** __restrict);
+#endif
+
#if (defined(__GNUC__) && __GNUC__ >= 2 && !defined(__STRICT_ANSI__)) || \
__ISO_C_VISIBLE >= 1999
/* LONGLONG */