mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:47:45 +00:00
LibC: Change a couple of ASSERT_NOT_REACHED() to TODO()
Just for semantic correctness and better visibility of those unimplemented stub functions.
This commit is contained in:
parent
d64d2ff07b
commit
b42f0b9650
8 changed files with 21 additions and 14 deletions
|
@ -24,7 +24,7 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <AK/LogStream.h>
|
||||
#include <AK/Format.h>
|
||||
#include <assert.h>
|
||||
#include <sys/resource.h>
|
||||
#include <ulimit.h>
|
||||
|
@ -33,13 +33,14 @@ extern "C" {
|
|||
|
||||
long ulimit([[maybe_unused]] int cmd, [[maybe_unused]] long newlimit)
|
||||
{
|
||||
ASSERT_NOT_REACHED();
|
||||
dbgln("FIXME: Implement getrusage()");
|
||||
TODO();
|
||||
return -1;
|
||||
}
|
||||
|
||||
int getrusage([[maybe_unused]] int who, [[maybe_unused]] struct rusage* usage)
|
||||
{
|
||||
dbgln("LibC: getrusage is not implemented");
|
||||
dbgln("FIXME: Implement getrusage()");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue