From 4546c75d685475d8b9f215b588364e1d1bbd0b79 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 19:21:29 +0200 Subject: MUCH work in libc Also cleaned up some syscalls etc --- src/kernel/lib/stdio.h | 2 -- src/kernel/lib/stdio/getch.c | 11 ----------- 2 files changed, 13 deletions(-) delete mode 100644 src/kernel/lib/stdio/getch.c (limited to 'src/kernel/lib') diff --git a/src/kernel/lib/stdio.h b/src/kernel/lib/stdio.h index 7dae60e..26b9ce8 100644 --- a/src/kernel/lib/stdio.h +++ b/src/kernel/lib/stdio.h @@ -3,8 +3,6 @@ #include -char getch(); - void putch(char c); void vprintf(const char *fmt, va_list args); diff --git a/src/kernel/lib/stdio/getch.c b/src/kernel/lib/stdio/getch.c deleted file mode 100644 index 4f6ed39..0000000 --- a/src/kernel/lib/stdio/getch.c +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include - -char getch() -{ - keyboard_char_buffer = 0; - while (keyboard_char_buffer == 0) { - }; - return keyboard_char_buffer; -} \ No newline at end of file -- cgit v1.2.3