diff options
| -rw-r--r-- | src/stdio/fflush.c | 2 | ||||
| -rw-r--r-- | src/stdio/fopen.c | 2 |
2 files changed, 2 insertions, 2 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); } } diff --git a/src/stdio/fopen.c b/src/stdio/fopen.c index 8abf7709..95130917 100644 --- a/src/stdio/fopen.c +++ b/src/stdio/fopen.c @@ -5,7 +5,7 @@ /** open a file stream **/ FILE * fopen(const char * restrict filename, const char * restrict mode) { - struct __FILE *base = __libc(FILE_STREAMS); + struct __FILE *base = __stdio.FILES; struct __FILE *f = base; /* find the next available stream */ |
