* libc/include/stdio.h (fcloseall): Declare as __GNU_VISIBLE only.

(renameat): Drop explicit __CYGWIN__ dependency.
This commit is contained in:
Corinna Vinschen 2014-05-09 08:42:39 +00:00
parent 8764af1eb1
commit 783e4d51e2
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-05-09 Corinna Vinschen <vinschen@redhat.com>
* libc/include/stdio.h (fcloseall): Declare as __GNU_VISIBLE only.
(renameat): Drop explicit __CYGWIN__ dependency.
2014-05-05 Corinna Vinschen <vinschen@redhat.com>
* libc/include/stdio.h: Declare various C99 printf/scanf functions for

View File

@ -232,6 +232,9 @@ int _EXFUN(fseeko, (FILE *, off_t, int));
off_t _EXFUN(ftello, ( FILE *));
#endif
#endif
#if __GNU_VISIBLE
int _EXFUN(fcloseall, (_VOID));
#endif
#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L) || (__cplusplus >= 201103L)
#ifndef _REENT_ONLY
int _EXFUN(asiprintf, (char **, const char *, ...)
@ -246,7 +249,6 @@ int _EXFUN(asprintf, (char **__restrict, const char *__restrict, ...)
int _EXFUN(diprintf, (int, const char *, ...)
_ATTRIBUTE ((__format__ (__printf__, 2, 3))));
#endif
int _EXFUN(fcloseall, (_VOID));
int _EXFUN(fiprintf, (FILE *, const char *, ...)
_ATTRIBUTE ((__format__ (__printf__, 2, 3))));
int _EXFUN(fiscanf, (FILE *, const char *, ...)
@ -337,7 +339,7 @@ FILE * _EXFUN(fmemopen, (void *__restrict, size_t, const char *__restrict));
/* getdelim - see __getdelim for now */
/* getline - see __getline for now */
FILE * _EXFUN(open_memstream, (char **, size_t *));
#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809 || defined(__CYGWIN__)
#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
int _EXFUN(renameat, (int, const char *, int, const char *));
#endif
int _EXFUN(vdprintf, (int, const char *__restrict, __VALIST)