diff options
author | Garrett D'Amore <garrett@nexenta.com> | 2010-07-30 07:06:32 -0700 |
---|---|---|
committer | Garrett D'Amore <garrett@nexenta.com> | 2010-07-30 07:06:32 -0700 |
commit | 4297a3b0d0a35d80f86fff155e288e885a100e6d (patch) | |
tree | bba873e6335d31404bbac128ffa6ebe126b43900 /usr/src/lib/libc/inc/mbstatet.h | |
parent | 969bc941052c29943dfb40d55089dc56fa46be57 (diff) | |
download | illumos-joyent-4297a3b0d0a35d80f86fff155e288e885a100e6d.tar.gz |
2 We need a fully open libc (no libc_i18n)
Reviewd by: garrett@nexenta.com
Approved by: garrett@nexenta.com
Diffstat (limited to 'usr/src/lib/libc/inc/mbstatet.h')
-rw-r--r-- | usr/src/lib/libc/inc/mbstatet.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/usr/src/lib/libc/inc/mbstatet.h b/usr/src/lib/libc/inc/mbstatet.h index c27bd0125b..baacffc00e 100644 --- a/usr/src/lib/libc/inc/mbstatet.h +++ b/usr/src/lib/libc/inc/mbstatet.h @@ -24,17 +24,22 @@ * Use is subject to license terms. */ +/* + * Copyright 2010 Nexenta Systems, Inc. All rights reserved. + * Use is subject to license terms. + */ #ifndef _MBSTATET_H #define _MBSTATET_H -#pragma ident "%Z%%M% %I% %E% SMI" - +/* + * This structure is totally opaque. The value mirrors wchar_impl.h. + */ typedef struct __mbstate_t { - void *__lc_locale; /* pointer to _LC_locale_t */ - void *__state; /* currently unused state flag */ - char __consumed[8]; /* 8 bytes */ - char __nconsumed; - char __fill[7]; +#if defined(_LP64) + long __filler[4]; +#else + int __filler[6]; +#endif } __mbstate_t; #endif /* _MBSTATET_H */ |