From 568a0b7017e8e779731325083015907b006866c3 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 18 Apr 2024 16:47:36 +0200 Subject: LibC: Fix compiler warnings It can now compile with almost all compiler warnings turned on without producing any warnings. --- userland/libc/libc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'userland/libc/libc.c') diff --git a/userland/libc/libc.c b/userland/libc/libc.c index 70c7e70..8129448 100644 --- a/userland/libc/libc.c +++ b/userland/libc/libc.c @@ -223,10 +223,6 @@ int fork(void) { return s_syscall(SYS_FORK); } -void dputc(int fd, const char c) { - pwrite(fd, &c, 1, 0); -} - int brk(void *addr) { return syscall(SYS_BRK, addr, 0, 0, 0, 0); } -- cgit v1.2.3