This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A patch for libio/libio.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]