1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

LibC: Move _abort next to abort

It should be now the only user of it, and it is more logical to have it
in `stdlib.h` than in `assert.h`
This commit is contained in:
Michel Hermier 2021-12-16 17:58:07 +01:00 committed by Brian Gianforcaro
parent 2c62d51e25
commit 0bfb7f9675
4 changed files with 8 additions and 8 deletions

View file

@ -33,9 +33,3 @@ void __assertion_failed(const char* msg)
abort();
}
}
void _abort()
{
asm volatile("ud2");
__builtin_unreachable();
}