#ifndef _STDIO_H
-# ifdef __need_FILE
+# if defined __need_FILE || defined __need___FILE
# ifdef USE_IN_LIBIO
# include <libio/stdio.h>
# else
_G_va_list __arg)
__attribute__ ((__format__ (__scanf__, 2, 0)));
+/* Prototypes for compatibility functions. */
+extern FILE *__new_tmpfile (void);
+extern FILE *__old_tmpfile (void);
+
+
# else
# include <stdio/stdio.h>
# endif
extern void __libc_fatal (__const char *__message)
__attribute__ ((__noreturn__));
+/* Acquire ownership of STREAM. */
+extern void __flockfile (FILE *__stream);
+
+/* Relinquish the ownership granted for STREAM. */
+extern void __funlockfile (FILE *__stream);
+
+/* Try to acquire ownership of STREAM but do not block if it is not
+ possible. */
+extern int __ftrylockfile (FILE *__stream);
+
+extern int __getc_unlocked (FILE *__fp);
+# ifdef USE_IN_LIBIO
+extern wint_t __getwc_unlocked (FILE *__fp);
+# endif
+
+
# endif
#endif