mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Kernel+UE+LibC: Remove unused dbgputch syscall
Everything uses the dbgputstr syscall anyway, so there is no need to keep supporting it.
This commit is contained in:
committed by
Andreas Kling
parent
f53bc19b8a
commit
33079c8ab9
@@ -169,8 +169,6 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
|
||||
return virt$set_process_name(arg1, arg2);
|
||||
case SC_dbgputstr:
|
||||
return virt$dbgputstr(arg1, arg2);
|
||||
case SC_dbgputch:
|
||||
return virt$dbgputch(arg1);
|
||||
case SC_chmod:
|
||||
return virt$chmod(arg1, arg2, arg3);
|
||||
case SC_fchmod:
|
||||
@@ -538,12 +536,6 @@ int Emulator::virt$shutdown(int sockfd, int how)
|
||||
return syscall(SC_shutdown, sockfd, how);
|
||||
}
|
||||
|
||||
int Emulator::virt$dbgputch(char ch)
|
||||
{
|
||||
dbgputch(ch);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Emulator::virt$listen(int fd, int backlog)
|
||||
{
|
||||
return syscall(SC_listen, fd, backlog);
|
||||
|
||||
Reference in New Issue
Block a user