summaryrefslogtreecommitdiff
path: root/include/stddef.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-05-11 18:44:14 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-05-11 18:44:14 +0000
commit7847cf8cac3ace56d062c6d1962f2df02d25d329 (patch)
treec860a1a863e5b2697b9daf1ea627279ec05d3ced /include/stddef.h
parent8d8d7a1eeeb3509c69bb27b3d97c04a887175599 (diff)
major abi changes:
* introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of. * Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports). * use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile. bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed. Discussed and matthieu, otto, millert, kettenis, deraadt. Major libc bump
Diffstat (limited to 'include/stddef.h')
-rw-r--r--include/stddef.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/stddef.h b/include/stddef.h
index 5a818e71e3a..467a51edeb8 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stddef.h,v 1.7 2005/04/14 20:59:10 espie Exp $ */
+/* $OpenBSD: stddef.h,v 1.8 2005/05/11 18:44:12 espie Exp $ */
/* $NetBSD: stddef.h,v 1.4 1994/10/26 00:56:26 cgd Exp $ */
/*-
@@ -57,6 +57,11 @@ typedef _BSD_WINT_T_ wint_t;
#undef _BSD_WINT_T_
#endif
+#ifdef _BSD_MBSTATE_T_
+typedef _BSD_MBSTATE_T_ mbstate_t;
+#undef _BSD_MBSTATE_T_
+#endif
+
#ifndef NULL
#ifdef __GNUG__
#define NULL __null