1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2014-02-23 14:41:51 +01:00
parent 234f186a7d
commit 933720e0b0
5 changed files with 29 additions and 152 deletions

View file

@ -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);
}