summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
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/mips64
parent2220dd64b809f6d53294a9c21441d834801c61f6 (diff)
internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/include/ansi.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/mips64/include/ansi.h b/sys/arch/mips64/include/ansi.h
index 05a6918221c..3eafb7dd5bf 100644
--- a/sys/arch/mips64/include/ansi.h
+++ b/sys/arch/mips64/include/ansi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ansi.h,v 1.3 2004/08/30 16:31:51 pefo Exp $ */
+/* $OpenBSD: ansi.h,v 1.4 2005/04/16 15:44:39 miod Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -83,6 +83,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
@@ -90,4 +92,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 /* !_MIPS_ANSI_H_ */