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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

[PATCH] Hurd stdio fix


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

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