[uClibc-cvs] uClibc/include stropts.h,1.1,1.2

Erik Andersen andersen at uclibc.org
Thu May 29 22:55:17 UTC 2003


Update of /var/cvs/uClibc/include
In directory winder:/tmp/cvs-serv11972/include

Modified Files:
	stropts.h 
Log Message:
Eviscerate stropts.h so configure scripts won't try to use STREAMS
garbage.  uClibc does not support STREAMS in any way whatsoever.
 -Erik


Index: stropts.h
===================================================================
RCS file: /var/cvs/uClibc/include/stropts.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- stropts.h	10 Jul 2002 04:15:31 -0000	1.1
+++ stropts.h	29 May 2003 22:55:14 -0000	1.2
@@ -16,6 +16,12 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+/* uClibc does not provide _any_ support for STREAMS.  So this header file is
+ * here for applications that foolishly include stropts.h but do not use it...
+ * Any application that actually _uses_ stropts.h needs to be fixed.
+ */
+
+#if 0
 #ifndef _STROPTS_H
 #define _STROPTS_H	1
 
@@ -77,5 +83,6 @@
 extern int fdetach (__const char *__path) __THROW;
 
 __END_DECLS
-
 #endif /* stropts.h */
+#endif	/* if 0 */
+



More information about the uClibc-cvs mailing list