diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/include/ansi.h | 15 | ||||
-rw-r--r-- | sys/arch/amd64/include/ansi.h | 12 | ||||
-rw-r--r-- | sys/arch/hppa/include/ansi.h | 15 | ||||
-rw-r--r-- | sys/arch/i386/include/ansi.h | 14 | ||||
-rw-r--r-- | sys/arch/m68k/include/ansi.h | 14 | ||||
-rw-r--r-- | sys/arch/powerpc/include/ansi.h | 14 | ||||
-rw-r--r-- | sys/arch/sparc/include/ansi.h | 14 | ||||
-rw-r--r-- | sys/arch/sparc64/include/ansi.h | 14 | ||||
-rw-r--r-- | sys/arch/vax/include/ansi.h | 20 |
9 files changed, 123 insertions, 9 deletions
diff --git a/sys/arch/alpha/include/ansi.h b/sys/arch/alpha/include/ansi.h index e460b0f6593..0de32890e60 100644 --- a/sys/arch/alpha/include/ansi.h +++ b/sys/arch/alpha/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.11 2004/01/03 14:08:52 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.12 2005/04/14 20:56:23 espie Exp $ */ /* $NetBSD: ansi.h,v 1.6 1996/11/15 22:38:45 jtc Exp $ */ /*- @@ -79,6 +79,9 @@ typedef struct { #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 @@ -86,4 +89,14 @@ typedef struct { */ #define _BSD_OFF_T_ 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_ */ diff --git a/sys/arch/amd64/include/ansi.h b/sys/arch/amd64/include/ansi.h index eba619188a4..22d38425730 100644 --- a/sys/arch/amd64/include/ansi.h +++ b/sys/arch/amd64/include/ansi.h @@ -77,6 +77,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 @@ -84,4 +86,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]; /* for alignment */ + long long __mbstateL; +} __mbstate_t; +#define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */ + #endif /* _ANSI_H_ */ diff --git a/sys/arch/hppa/include/ansi.h b/sys/arch/hppa/include/ansi.h index 7c2e1ecd07a..0c3a06fedf6 100644 --- a/sys/arch/hppa/include/ansi.h +++ b/sys/arch/hppa/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.6 2004/01/03 14:08:52 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.7 2005/04/14 20:56:24 espie Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -71,7 +71,10 @@ * defined for ctype.h. */ #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 @@ -79,4 +82,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_ */ diff --git a/sys/arch/i386/include/ansi.h b/sys/arch/i386/include/ansi.h index a996423ba2a..a0e2d0768d7 100644 --- a/sys/arch/i386/include/ansi.h +++ b/sys/arch/i386/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.9 2004/01/03 14:08:52 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.10 2005/04/14 20:56:24 espie Exp $ */ /* $NetBSD: ansi.h,v 1.7 1996/11/15 22:38:50 jtc Exp $ */ /*- @@ -74,6 +74,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 @@ -81,4 +83,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 /* _ANSI_H_ */ diff --git a/sys/arch/m68k/include/ansi.h b/sys/arch/m68k/include/ansi.h index 64051d75435..f068d138d80 100644 --- a/sys/arch/m68k/include/ansi.h +++ b/sys/arch/m68k/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.8 2004/01/03 14:08:52 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.9 2005/04/14 20:56:24 espie Exp $ */ /* $NetBSD: ansi.h,v 1.7 1996/11/15 22:38:52 jtc Exp $ */ /*- @@ -74,6 +74,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 @@ -81,4 +83,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 /* _ANSI_H_ */ 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_ */ diff --git a/sys/arch/sparc/include/ansi.h b/sys/arch/sparc/include/ansi.h index 081b8fc5e3d..38afc6fc664 100644 --- a/sys/arch/sparc/include/ansi.h +++ b/sys/arch/sparc/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.9 2004/01/03 14:08:53 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.10 2005/04/14 20:56:24 espie Exp $ */ /* $NetBSD: ansi.h,v 1.6 1996/11/15 22:38:59 jtc Exp $ */ /*- @@ -74,6 +74,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 @@ -81,4 +83,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 /* _ANSI_H_ */ diff --git a/sys/arch/sparc64/include/ansi.h b/sys/arch/sparc64/include/ansi.h index b77b84a94e1..82a49222d10 100644 --- a/sys/arch/sparc64/include/ansi.h +++ b/sys/arch/sparc64/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.4 2004/01/03 14:08:53 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.5 2005/04/14 20:56:24 espie Exp $ */ /* $NetBSD: ansi.h,v 1.7 2001/01/03 10:09:04 takemura Exp $ */ /*- @@ -79,6 +79,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 @@ -86,4 +88,14 @@ */ #define _BSD_OFF_T_ long long +/* + * 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_ */ diff --git a/sys/arch/vax/include/ansi.h b/sys/arch/vax/include/ansi.h index 57d0e3ea77b..1c26916715f 100644 --- a/sys/arch/vax/include/ansi.h +++ b/sys/arch/vax/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.10 2004/01/03 14:08:53 espie Exp $ */ +/* $OpenBSD: ansi.h,v 1.11 2005/04/14 20:56:24 espie Exp $ */ /* $NetBSD: ansi.h,v 1.7 1998/04/27 17:39:11 kleink Exp $ */ /*- @@ -65,6 +65,22 @@ #define _BSD_INTPTR_T_ int /* intptr_t */ #define _BSD_UINTPTR_T_ unsigned int /* uintptr_t */ -#define _BSD_OFF_T_ long long /* off_t */ +#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 */ + +#define _BSD_OFF_T_ long long /* off_t */ + +/* + * 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_ */ |