make FILE a complete type for pre-C11 standard profiles
[musl.git] / src / include / stdio.h
blobfae3755b4a15bfdf1fcca4bb0c2dac9356456d19
1 #ifndef STDIO_H
2 #define STDIO_H
4 #define __DEFINED_struct__IO_FILE
6 #include "../../include/stdio.h"
8 #undef stdin
9 #undef stdout
10 #undef stderr
12 extern hidden FILE __stdin_FILE;
13 extern hidden FILE __stdout_FILE;
14 extern hidden FILE __stderr_FILE;
16 #define stdin (&__stdin_FILE)
17 #define stdout (&__stdout_FILE)
18 #define stderr (&__stderr_FILE)
20 #endif