This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
A patch for libio.h
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: A patch for libio.h
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Tue, 28 Nov 2000 16:00:34 -0800
Those
#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
#endif
are not necessary since they are protected by
#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
#endif
already.
--
H.J. Lu (hjl@valinux.com)
---
2000-11-28 H.J. Lu <hjl@gnu.org>
* libio/libio.h: Remove extra "#if ... #endif".
Index: libio/libio.h
===================================================================
RCS file: /work/cvs/gnu/glibc/libio/libio.h,v
retrieving revision 1.1.1.6
diff -u -p -r1.1.1.6 libio.h
--- libio/libio.h 2000/09/06 05:54:23 1.1.1.6
+++ libio/libio.h 2000/11/28 23:57:45
@@ -246,17 +246,13 @@ struct _IO_wide_data
backup area */
wchar_t *_IO_save_end; /* Pointer to end of non-current get area. */
-#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
__mbstate_t _IO_state;
__mbstate_t _IO_last_state;
-#endif
struct _IO_codecvt _codecvt;
wchar_t _shortbuf[1];
-#if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
struct _IO_jump_t *_wide_vtable;
-#endif
};
#endif