A patch for libio/libio.h

H.J. Lu hjl@lucon.org
Sat Oct 24 18:20:00 GMT 1998


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



More information about the Libc-hacker mailing list