1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +00:00

Kernel: Remove unused "putch" syscall

This commit is contained in:
Andreas Kling 2020-01-04 16:00:25 +01:00
parent 874a6c4039
commit 95ba0d5a02
3 changed files with 1 additions and 8 deletions

View file

@ -3700,12 +3700,6 @@ int Process::sys$sync()
return 0;
}
int Process::sys$putch(char ch)
{
Console::the().put_char(ch);
return 0;
}
int Process::sys$yield()
{
current->yield_without_holding_big_lock();

View file

@ -98,7 +98,6 @@ public:
void finalize();
int sys$yield();
int sys$putch(char);
int sys$sync();
int sys$beep();
int sys$get_process_name(char* buffer, int buffer_size);

View file

@ -16,7 +16,7 @@ typedef u32 socklen_t;
#define ENUMERATE_SYSCALLS \
__ENUMERATE_SYSCALL(sleep) \
__ENUMERATE_SYSCALL(yield) \
__ENUMERATE_SYSCALL(putch) \
__ENUMERATE_REMOVED_SYSCALL(putch) \
__ENUMERATE_SYSCALL(open) \
__ENUMERATE_SYSCALL(close) \
__ENUMERATE_SYSCALL(read) \