* libc/include/wchar.h (mbstate_t): Change protective flag to
be _MBSTATE_T.
* libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
[__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
for Cygwin.
* libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
+2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/wchar.h (mbstate_t): Change protective flag to
+ be _MBSTATE_T.
+ * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
+ [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
+ for Cygwin.
+ * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
+
2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
* acinclude.m4 (enable-newlib-mb): Change check to
#define __need_wint_t
#include <stddef.h>
-#ifndef _MBSTATE_T
-#define _MBSTATE_T
/* Conversion state information. */
typedef struct
{
unsigned char __wchb[4];
} __value; /* Value so far. */
} _mbstate_t;
-#endif /* _MBSTATE_T */
-
-#ifdef __CYGWIN__
-# ifndef MBSTATE_T
-# define MBSTATE_T
-typedef _mbstate_t mbstate_t;
-# endif /* MBSTATE_T */
-# define WEOF (0xffffffffu)
-#endif /* __CYGWIN__ */
typedef int _flock_t;
#endif
#endif
-#ifndef MBSTATE_T
-#define MBSTATE_T
+#ifndef _MBSTATE_T
+#define _MBSTATE_T
typedef _mbstate_t mbstate_t;
-#endif /* MBSTATE_T */
+#endif /* _MBSTATE_T */
wint_t _EXFUN(btowc, (int));
int _EXFUN(wctob, (wint_t));
#define __need_wint_t
#include <stddef.h>
-#ifndef _MBSTATE_T
-#define _MBSTATE_T
/* Conversion state information. */
typedef struct
{
unsigned char __wchb[4];
} __value; /* Value so far. */
} _mbstate_t;
-#endif /* _MBSTATE_T */
struct __flock_t_tmp;
typedef struct