diff options
Diffstat (limited to 'src/stdio/fflush.c')
| -rw-r--r-- | src/stdio/fflush.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stdio/fflush.c b/src/stdio/fflush.c index c7514d10..c4b5ad58 100644 --- a/src/stdio/fflush.c +++ b/src/stdio/fflush.c @@ -1,6 +1,5 @@ #include <stdio.h> #include "nonstd/io.h" -#include "nonstd/internal.h" /** flush buffered writes **/ int fflush(FILE *stream) @@ -8,7 +7,7 @@ int fflush(FILE *stream) flockfile(stream); if (stream == NULL) { FILE *p; - for (p = __libc(FILE_TAIL); p != NULL; p = p->prev) { + for (p = __libc(FILE_STREAMS); p != NULL; p = p->prev) { fflush(p); } } |
