diff options
-rw-r--r-- | libc/src/stdio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/src/stdio.c b/libc/src/stdio.c index eab9c7e..c705946 100644 --- a/libc/src/stdio.c +++ b/libc/src/stdio.c @@ -1,6 +1,7 @@ #include <stdio.h> -FILE * stdin, * stdout, * stderr; +static FILE _stdin, _stdout, _stderr; +FILE * stdin = &_stdin, * stdout = &_stdout, * stderr = &_stderr; void __sinit(struct _reent * reent) { stdin->fd = 0; |