summaryrefslogtreecommitdiff
path: root/libc/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/syscalls.c')
-rw-r--r--libc/syscalls.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/libc/syscalls.c b/libc/syscalls.c
index 43955a0ddd..9c683a2732 100644
--- a/libc/syscalls.c
+++ b/libc/syscalls.c
@@ -14,7 +14,6 @@
#include "panic.h"
#include "software_panic.h"
#include "task.h"
-#include "uart.h"
/**
* Reboot the system.
@@ -28,18 +27,3 @@ void _exit(int rc)
panic_printf("%s called with rc: %d\n", __func__, rc);
software_panic(PANIC_SW_EXIT, task_get_current());
}
-
-/**
- * Write to the UART.
- *
- * This function is called from libc functions such as printf().
- *
- * @param fd ignored
- * @param buf buffer to write
- * @param len number of bytes in @buf to write
- * @return number of bytes successfully written
- */
-int _write(int fd, char *buf, int len)
-{
- return uart_put(buf, len);
-}