summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-04-16 15:44:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-04-16 15:44:40 +0000
commitf7ce04763f87b89e732f4123e7438961d9564219 (patch)
treef4c8d8181edb093a02a377bf4d53b58d2e4b0ff8 /sys/arch/m88k
parent2220dd64b809f6d53294a9c21441d834801c61f6 (diff)
internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r--sys/arch/m88k/include/ansi.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/m88k/include/ansi.h b/sys/arch/m88k/include/ansi.h
index 907af3487db..d5371472948 100644
--- a/sys/arch/m88k/include/ansi.h
+++ b/sys/arch/m88k/include/ansi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ansi.h,v 1.1 2004/04/26 12:34:05 miod Exp $ */
+/* $OpenBSD: ansi.h,v 1.2 2005/04/16 15:44:38 miod Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -73,6 +73,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
@@ -80,4 +82,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 /* __MACHINE_ANSI_H__ */