summary refs log tree commit diff
path: root/libio/stdio.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-05-24 18:14:36 +0000
committerJakub Jelinek <jakub@redhat.com>2008-05-24 18:14:36 +0000
commitad8a5511966f4e00625723fc83c0240ca8b08610 (patch)
tree6ed6157ae12a6af611d39bb8a819dc5edca438b9 /libio/stdio.h
parente20038838008fdc87dc36d256e72190a39f17a1a (diff)
downloadglibc-ad8a5511966f4e00625723fc83c0240ca8b08610.tar.gz
glibc-ad8a5511966f4e00625723fc83c0240ca8b08610.tar.xz
glibc-ad8a5511966f4e00625723fc83c0240ca8b08610.zip
* libio/stdio.h (vscanf): Fix -std=c99 redirect.
* stdio-common/Makefile (tests): Add scanf16 and scanf17. 
(CFLAGS-scanf17.c): New. 
* stdio-common/scanf14.c (main): Add fscanf and scanf tests. 
* stdio-common/scanf15.c (main): Likewise. 
* stdio-common/scanf16.c: New test. 
* stdio-common/scanf17.c: New test.
2008-05-24  Jakub Jelinek  <jakub@redhat.com>

	* libio/stdio.h (vscanf): Fix -std=c99 redirect.
	* stdio-common/Makefile (tests): Add scanf16 and scanf17.
	(CFLAGS-scanf17.c): New.
	* stdio-common/scanf14.c (main): Add fscanf and scanf tests.
	* stdio-common/scanf15.c (main): Likewise.
	* stdio-common/scanf16.c: New test.
	* stdio-common/scanf17.c: New test.
Diffstat (limited to 'libio/stdio.h')
-rw-r--r--libio/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index 1cbe9204ba..9dacbe2455 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -475,7 +475,7 @@ extern int __REDIRECT (vfscanf,
 		       __isoc99_vfscanf)
      __attribute__ ((__format__ (__scanf__, 2, 0))) __wur;
 extern int __REDIRECT (vscanf, (__const char *__restrict __format,
-				_G_va_list __arg), __isoc99_vfscanf)
+				_G_va_list __arg), __isoc99_vscanf)
      __attribute__ ((__format__ (__scanf__, 1, 0))) __wur;
 extern int __REDIRECT (vsscanf,
 		       (__const char *__restrict __s,