summaryrefslogtreecommitdiff
path: root/userland/libc/libc.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-18 16:47:36 +0200
committerAnton Kling <anton@kling.gg>2024-04-18 16:47:36 +0200
commit568a0b7017e8e779731325083015907b006866c3 (patch)
treeae2f78d7fee945a90e29eb3eb71024be43077d76 /userland/libc/libc.c
parentcc2b68cb26738dce0c7696ca0fe5b0cd8b24c171 (diff)
LibC: Fix compiler warnings
It can now compile with almost all compiler warnings turned on without producing any warnings.
Diffstat (limited to 'userland/libc/libc.c')
-rw-r--r--userland/libc/libc.c4
1 files changed, 0 insertions, 4 deletions
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);
}