This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
A patch for libio/libio.h
- To: drepper@cygnus.com (Ulrich Drepper)
- Subject: A patch for libio/libio.h
- From: hjl@lucon.org (H.J. Lu)
- Date: Sat, 24 Oct 1998 18:20:19 -0700 (PDT)
- Cc: libc-hacker@cygnus.com (GNU C Library)
Another patch for pollution.
--
H.J. Lu (hjl@gnu.org)
--
Sat Oct 24 18:15:53 1998 H.J. Lu <hjl@gnu.org>
* libio/libio.h (_IO_cookie_io_functions_t): Protect with
__USE_GNU.
(_IO_cookie_file): Likewise.
Index: libio/libio.h
===================================================================
RCS file: /home/work/cvs/gnu/glibc/libio/libio.h,v
retrieving revision 1.4
diff -u -r1.4 libio.h
--- libio.h 1998/10/15 16:43:28 1.4
+++ libio.h 1998/10/19 21:36:52
@@ -256,6 +256,7 @@
#endif
+#ifdef __USE_GNU
/* Define the user-visible type, with user-friendly member names. */
typedef struct
{
@@ -273,6 +274,7 @@
void *cookie;
_IO_cookie_io_functions_t io_functions;
};
+#endif
#ifdef __cplusplus