mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* libc/include/stdio.h (tempnam): Declare as __BSD_VISIBLE or
__XSI_VISIBLE or if __POSIX_VISIBLE >= 200112.
This commit is contained in:
parent
783e4d51e2
commit
7bc7b551f5
@ -1,3 +1,8 @@
|
||||
2014-05-09 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* libc/include/stdio.h (tempnam): Declare as __BSD_VISIBLE or
|
||||
__XSI_VISIBLE or if __POSIX_VISIBLE >= 200112.
|
||||
|
||||
2014-05-09 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* libc/include/stdio.h (fcloseall): Declare as __GNU_VISIBLE only.
|
||||
|
@ -162,6 +162,9 @@ typedef _fpos64_t fpos64_t;
|
||||
|
||||
FILE * _EXFUN(tmpfile, (void));
|
||||
char * _EXFUN(tmpnam, (char *));
|
||||
#if __BSD_VISIBLE || __XSI_VISIBLE || __POSIX_VISIBLE >= 200112
|
||||
char * _EXFUN(tempnam, (const char *, const char *));
|
||||
#endif
|
||||
int _EXFUN(fclose, (FILE *));
|
||||
int _EXFUN(fflush, (FILE *));
|
||||
FILE * _EXFUN(freopen, (const char *__restrict, const char *__restrict, FILE *__restrict));
|
||||
@ -265,7 +268,6 @@ int _EXFUN(snprintf, (char *__restrict, size_t, const char *__restrict, ...)
|
||||
_ATTRIBUTE ((__format__ (__printf__, 3, 4))));
|
||||
int _EXFUN(sniprintf, (char *, size_t, const char *, ...)
|
||||
_ATTRIBUTE ((__format__ (__printf__, 3, 4))));
|
||||
char * _EXFUN(tempnam, (const char *, const char *));
|
||||
int _EXFUN(vasiprintf, (char **, const char *, __VALIST)
|
||||
_ATTRIBUTE ((__format__ (__printf__, 2, 0))));
|
||||
char * _EXFUN(vasniprintf, (char *, size_t *, const char *, __VALIST)
|
||||
|
Loading…
x
Reference in New Issue
Block a user