diff options
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 */ |