Renamed thread/team syscalls to new scheme.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6878 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-03-03 01:08:27 +00:00
parent 6f2229385e
commit a16600d146
+7 -2
View File
@@ -1,3 +1,8 @@
/*
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
/* /*
** Copyright 2002, Jeff Hamilton. All rights reserved. ** Copyright 2002, Jeff Hamilton. All rights reserved.
** Distributed under the terms of the NewOS License. ** Distributed under the terms of the NewOS License.
@@ -20,7 +25,7 @@
int int
getrlimit(int resource, struct rlimit *rlp) getrlimit(int resource, struct rlimit *rlp)
{ {
int status = sys_getrlimit(resource, rlp); int status = _kern_getrlimit(resource, rlp);
RETURN_AND_SET_ERRNO(status); RETURN_AND_SET_ERRNO(status);
} }
@@ -29,7 +34,7 @@ getrlimit(int resource, struct rlimit *rlp)
int int
setrlimit(int resource, const struct rlimit *rlp) setrlimit(int resource, const struct rlimit *rlp)
{ {
int status = sys_setrlimit(resource, rlp); int status = _kern_setrlimit(resource, rlp);
RETURN_AND_SET_ERRNO(status); RETURN_AND_SET_ERRNO(status);
} }