diff options
Diffstat (limited to 'libc/stdio/findfp.c')
-rw-r--r-- | libc/stdio/findfp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/stdio/findfp.c b/libc/stdio/findfp.c index cfbb66bb8..5e51198a7 100644 --- a/libc/stdio/findfp.c +++ b/libc/stdio/findfp.c @@ -44,17 +44,13 @@ #define ALIGNBYTES (sizeof(uintptr_t) - 1) #define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES) -#undef stdin -#undef stdout -#undef stderr - int __sdidinit; #define NDYNAMIC 10 /* add ten more whenever necessary */ #define std(flags, file) \ - {0,0,0,flags,file,{0},0,__sF+file,__sclose,__sread,__sseek,__swrite, \ - {(unsigned char *)(__sFext+file), 0},NULL,0,{0},{0},{0},0,0} + {0,0,0,flags,file,{0,0},0,__sF+file,__sclose,__sread,__sseek,__swrite, \ + {(unsigned char *)(__sFext+file), 0},NULL,0,{0},{0},{0,0},0,0} /* the usual - (stdin + stdout + stderr) */ static FILE usual[FOPEN_MAX - 3]; |