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.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/init/stdlib.c') diff --git a/src/init/stdlib.c b/src/init/stdlib.c index 3714324..5c6f45f 100644 --- a/src/init/stdlib.c +++ b/src/init/stdlib.c @@ -2,6 +2,9 @@ #include #include +int __tty_fd; + + int memcmp(const void *s1, const void *s2, size_t n) { const unsigned char *c1 = s1, *c2 = s2; for (size_t i = 0; i < n; i++) { -- cgit v1.2.3