* libc/include/stdio.h: Declare various C99 printf/scanf functions for

C++11, too.
This commit is contained in:
Corinna Vinschen 2014-05-05 12:53:47 +00:00
parent d8b41bc3d0
commit 7e9b678464
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-05-05 Corinna Vinschen <vinschen@redhat.com>
* libc/include/stdio.h: Declare various C99 printf/scanf functions for
C++11, too.
2014-04-22 Richard Earnshaw <rearnsha@arm.com>
* libc/machine/arm/strcmp-arm-tiny.S: New file.

View File

@ -232,7 +232,7 @@ int _EXFUN(fseeko, (FILE *, off_t, int));
off_t _EXFUN(ftello, ( FILE *));
#endif
#endif
#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L)
#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L) || (__cplusplus >= 201103L)
#ifndef _REENT_ONLY
int _EXFUN(asiprintf, (char **, const char *, ...)
_ATTRIBUTE ((__format__ (__printf__, 2, 3))));