diff options
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index 457eabe32f..c0ca6027e8 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,5 +1,25 @@ #ifdef USE_IN_LIBIO -#include <libio/stdio.h> +#ifdef __need_FILE +# include <libio/stdio.h> +#else +# include <libio/stdio.h> + +/* Now define the internal interfaces. */ +extern int __fcloseall __P ((void)); +extern int __snprintf __P ((char *__restrict __s, size_t __maxlen, + __const char *__restrict __format, ...)) + __attribute__ ((__format__ (__printf__, 3, 4))); +extern int __vfscanf __P ((FILE *__restrict __s, + __const char *__restrict __format, + _G_va_list __arg)) + __attribute__ ((__format__ (__scanf__, 2, 0))); +extern int __vscanf __P ((__const char *__restrict __format, + _G_va_list __arg)) + __attribute__ ((__format__ (__scanf__, 1, 0))); +extern _IO_ssize_t __getline __P ((char **__lineptr, size_t *__n, + FILE *__stream)); + +#endif #else #include <stdio/stdio.h> #endif |