From 3ae251a204748a2f1c4c2af6c55e73d5e5159d0f Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Tue, 24 Oct 2023 13:50:36 +0200 Subject: LibC: Allocate stdin, stdout, stderr on the heap so they can be closed with fclose --- userland/libc/stdio/stderr.c | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 userland/libc/stdio/stderr.c (limited to 'userland/libc/stdio/stderr.c') diff --git a/userland/libc/stdio/stderr.c b/userland/libc/stdio/stderr.c deleted file mode 100644 index 76597e2..0000000 --- a/userland/libc/stdio/stderr.c +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include - -FILE __stderr_FILE = { - .write = write_fd, - .read = read_fd, - .is_eof = 0, - .has_error = 0, - .cookie = NULL, - .fd = 2, -}; -- cgit v1.2.3