mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
LibC: Remove ASSERT_NOT_REACHED in getrusage
The gcc port was hitting that assertion for some reason. This patch fixes it.
This commit is contained in:
parent
0a55679de4
commit
2cafc36d9c
1 changed files with 2 additions and 4 deletions
|
@ -25,8 +25,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ulimit.h>
|
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
#include <ulimit.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
|
@ -42,8 +42,6 @@ int getrusage(int who, struct rusage *usage)
|
||||||
{
|
{
|
||||||
(void)who;
|
(void)who;
|
||||||
(void)usage;
|
(void)usage;
|
||||||
ASSERT_NOT_REACHED();
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue