diff options
Diffstat (limited to 'sys/arch/hppa64/include/ansi.h')
-rw-r--r-- | sys/arch/hppa64/include/ansi.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/ansi.h b/sys/arch/hppa64/include/ansi.h index 7e0df957749..5f70f556128 100644 --- a/sys/arch/hppa64/include/ansi.h +++ b/sys/arch/hppa64/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */ +/* $OpenBSD: ansi.h,v 1.2 2005/04/15 13:09:48 mickey Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -69,6 +69,8 @@ #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 @@ -76,4 +78,14 @@ */ #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 /* _MACHINE_ANSI_H_ */ |