mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
Make syscall invocations look pleasant.
Old: Syscall::invoke(Syscall::SC_foo, (dword)arg1, (dword)arg2) New: syscall(SC_foo, arg1, arg2)
This commit is contained in:
parent
36bd53b36a
commit
3a0a8848fb
13 changed files with 75 additions and 72 deletions
|
@ -4,6 +4,6 @@
|
|||
|
||||
clock_t times(struct tms* buf)
|
||||
{
|
||||
int rc = Syscall::invoke(Syscall::SC_times, (dword)buf);
|
||||
int rc = syscall(SC_times, buf);
|
||||
__RETURN_WITH_ERRNO(rc, rc, (clock_t)-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue