diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-05-11 18:44:14 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-05-11 18:44:14 +0000 |
commit | 7847cf8cac3ace56d062c6d1962f2df02d25d329 (patch) | |
tree | c860a1a863e5b2697b9daf1ea627279ec05d3ced /include/stdlib.h | |
parent | 8d8d7a1eeeb3509c69bb27b3d97c04a887175599 (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/stdlib.h')
-rw-r--r-- | include/stdlib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 76a2a1f3eb9..8fdec7e2e99 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.32 2004/08/03 19:59:42 millert Exp $ */ +/* $OpenBSD: stdlib.h,v 1.33 2005/05/11 18:44:12 espie Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -84,7 +84,8 @@ typedef struct { #define RAND_MAX 0x7fffffff -#define MB_CUR_MAX 1 /* XXX */ +extern size_t __mb_cur_max; +#define MB_CUR_MAX __mb_cur_max #include <sys/cdefs.h> |