From 9211a1adeca1e408048bcbfe935079ff69b3fe63 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 16 Sep 2002 18:55:25 +0000 Subject: 2002-09-16 Jeff Johnston * 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. --- newlib/libc/include/sys/_types.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'newlib/libc/include/sys') diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h index 1265c46f5..3d66f5a01 100644 --- a/newlib/libc/include/sys/_types.h +++ b/newlib/libc/include/sys/_types.h @@ -21,8 +21,6 @@ typedef long _ssize_t; #define __need_wint_t #include -#ifndef _MBSTATE_T -#define _MBSTATE_T /* Conversion state information. */ typedef struct { @@ -33,15 +31,6 @@ 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; -- cgit v1.2.3