mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +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:
parent
2c62d51e25
commit
0bfb7f9675
Notes:
sideshowbarker
2024-07-17 22:36:17 +09:00
Author: https://github.com/mhermier
Commit: 0bfb7f9675
Pull-request: https://github.com/SerenityOS/serenity/pull/11284
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
4 changed files with 8 additions and 8 deletions
|
@ -33,9 +33,3 @@ void __assertion_failed(const char* msg)
|
|||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
void _abort()
|
||||
{
|
||||
asm volatile("ud2");
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue