about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--libio/stdio.h2
-rw-r--r--stdio/stdio.h4
3 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 06569df02b..7a55cfd2ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+	* libio/stdio.h: Fix comment.
+
+	* stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
+	__USE_ISOC9X.
+
 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
 
 	* Makeconfig (+gccwarn): Remove -Wno-parentheses.
diff --git a/libio/stdio.h b/libio/stdio.h
index 87709976be..912a30e198 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -350,7 +350,7 @@ extern int vsscanf __P ((__const char *__restrict __s,
 			 __const char *__restrict __format,
 			 _G_va_list __arg))
      __attribute__ ((__format__ (__scanf__, 2, 0)));
-#endif /* Use GNU.  */
+#endif /* Use ISO C9x.  */
 
 
 /* Read a character from STREAM.  */
diff --git a/stdio/stdio.h b/stdio/stdio.h
index f0ddc7abed..2ec55c486a 100644
--- a/stdio/stdio.h
+++ b/stdio/stdio.h
@@ -480,7 +480,7 @@ extern int scanf __P ((__const char *__restrict __format, ...));
 extern int sscanf __P ((__const char *__restrict __s,
 			__const char *__restrict __format, ...));
 
-#ifdef	__USE_GNU
+#ifdef	__USE_ISOC9X
 /* Read formatted input from S into argument list ARG.  */
 extern int __vfscanf __P ((FILE *__s, __const char *__format,
 			   __gnuc_va_list __arg));
@@ -515,7 +515,7 @@ vsscanf (const char *__s, const char *__fmt, __gnuc_va_list __arg)
   return __vsscanf (__s, __fmt, __arg);
 }
 #endif /* Optimizing.  */
-#endif /* Use GNU.  */
+#endif /* Use ISO C9x.  */
 
 
 /* This does actual reading when necessary, filling STREAM's