summaryrefslogtreecommitdiff
path: root/src/init/stdlib.h
diff options
context:
space:
mode:
authordzwdz2021-10-10 16:02:10 +0000
committerdzwdz2021-10-10 16:02:10 +0000
commit26911b7c45d362c7760d002e4395e33524c4744a (patch)
treec0495f6470ee9956442da3fe7ab2e138f6907cc4 /src/init/stdlib.h
parentf731536d64ce57ef6297f861bbc785020b132e9b (diff)
init: move __tty_fd to the stdlib, add the underscores to its name
Diffstat (limited to 'src/init/stdlib.h')
-rw-r--r--src/init/stdlib.h5
1 files changed, 1 insertions, 4 deletions
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 <stddef.h>
-// 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, ...);