[PATCH] Hurd stdio fix

Mark Kettenis kettenis@wins.uva.nl
Thu Jan 4 15:10:00 GMT 2001


The attached patch is needed to get things compiling on the Hurd again.

Mark


2001-01-04  Mark Kettenis  <kettenis@gnu.org>

	* include/stdio.h: Only provide __getwc_unlocked prototype if
	USE_IN_LIBIO is defined.


Index: include/stdio.h
===================================================================
RCS file: /cvs/glibc/libc/include/stdio.h,v
retrieving revision 1.14
diff -u -p -r1.14 stdio.h
--- include/stdio.h	2000/12/27 19:54:33	1.14
+++ include/stdio.h	2001/01/04 23:06:40
@@ -66,7 +66,9 @@ extern void __funlockfile (FILE *__strea
 extern int __ftrylockfile (FILE *__stream);
 
 extern int __getc_unlocked (FILE *__fp);
+#  ifdef USE_IN_LIBIO
 extern wint_t __getwc_unlocked (FILE *__fp);
+#  endif
 
 
 # endif


More information about the Libc-hacker mailing list