summaryrefslogtreecommitdiff
path: root/src/stdio/fflush.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-11 20:12:42 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-11 20:12:42 -0400
commit0a908b26fa745b4b295e705564af5eaf25e4fbd4 (patch)
tree43954c5d46ae3ddfac84be489083be23d7747c02 /src/stdio/fflush.c
parentf9a34b02407a270b18601c5c1e0d28f3f9b436d7 (diff)
remove dependence on "nonstd/internal.h"
Diffstat (limited to 'src/stdio/fflush.c')
-rw-r--r--src/stdio/fflush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fflush.c b/src/stdio/fflush.c
index 9030a39f..1b70d8b0 100644
--- a/src/stdio/fflush.c
+++ b/src/stdio/fflush.c
@@ -7,7 +7,7 @@ int fflush(FILE *stream)
flockfile(stream);
if (stream == NULL) {
FILE *p;
- for (p = __libc(FILE_STREAMS); p != NULL; p = p->prev) {
+ for (p = __stdio.FILES; p != NULL; p = p->prev) {
fflush(p);
}
}