mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Remove obsolete system calls.
This commit is contained in:
parent
234f186a7d
commit
933720e0b0
5 changed files with 29 additions and 152 deletions
|
|
@ -418,15 +418,8 @@ static int sys_pipe2(int pipefd[2], int flags)
|
|||
return -1;
|
||||
}
|
||||
|
||||
// TODO: This system call is replaced by pipe2, will be removed soon.
|
||||
static int sys_pipe(int pipefd[2])
|
||||
{
|
||||
return sys_pipe2(pipefd, 0);
|
||||
}
|
||||
|
||||
void Init()
|
||||
{
|
||||
Syscall::Register(SYSCALL_PIPE, (void*) sys_pipe);
|
||||
Syscall::Register(SYSCALL_PIPE2, (void*) sys_pipe2);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue