From 26911b7c45d362c7760d002e4395e33524c4744a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 10 Oct 2021 16:02:10 +0000 Subject: init: move __tty_fd to the stdlib, add the underscores to its name --- src/init/stdlib.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/init/stdlib.h') diff --git a/src/init/stdlib.h b/src/init/stdlib.h index a3a8b64..8b71adf 100644 --- a/src/init/stdlib.h +++ b/src/init/stdlib.h @@ -1,12 +1,9 @@ #pragma once #include -// TODO since this is shared with the kernel, maybe i could turn this into an -// stb-style header file +extern int __tty_fd; int memcmp(const void *s1, const void *s2, size_t n); - int strcmp(const char *s1, const char *s2); size_t strlen(const char *s); - int printf(const char *fmt, ...); -- cgit v1.2.3