summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-04-15 13:09:49 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-04-15 13:09:49 +0000
commit45726423262f48bbcba9d38619ee8ffb1bbf56d1 (patch)
tree1160d69d08865cbf889f91186001d120dd848928 /sys/arch/hppa64
parented13c9664b994c0ddb156c715cf792f1b37289b1 (diff)
free salt&peper commit
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r--sys/arch/hppa64/include/ansi.h14
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_ */