diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-04-14 20:56:25 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-04-14 20:56:25 +0000 |
commit | db99574f1c4b47d92725407923b9f2447a166f03 (patch) | |
tree | 4144fffda5664abebb2ad1355697b0616bda9dba /sys/arch/powerpc/include | |
parent | 0b9452526f266c4085d063c215a89d11a80ee6e2 (diff) |
internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r-- | sys/arch/powerpc/include/ansi.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/ansi.h b/sys/arch/powerpc/include/ansi.h index 8808d0210f7..fb9c463c87c 100644 --- a/sys/arch/powerpc/include/ansi.h +++ b/sys/arch/powerpc/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.12 2004/01/03 14:08:53 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.13 2005/04/14 20:56:24 espie Exp $ */ /* $NetBSD: ansi.h,v 1.2 1996/11/15 22:38:57 jtc Exp $ */ /*- @@ -75,6 +75,8 @@ struct __va_list_tag; #define _BSD_WCHAR_T_ int /* wchar_t */ #define _BSD_WINT_T_ int /* wint_t */ #define _BSD_RUNE_T_ int /* rune_t */ +#define _BSD_WCTRANS_T_ void * /* wctrans_t */ +#define _BSD_WCTYPE_T_ void * /* wctype_t */ /* * We describe off_t here so its declaration can be visible to @@ -82,4 +84,14 @@ struct __va_list_tag; */ #define _BSD_OFF_T_ long long /* file offset */ +/* + * mbstate_t is an opaque object to keep conversion state, during multibyte + * stream conversions. The content must not be referenced by user programs. + */ +typedef union { + char __mbstate8[128]; + long long __mbstateL; /* for alignment */ +} __mbstate_t; +#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */ + #endif /* _ANSI_H_ */ |