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
commit 0bfb7f9675
Notes: sideshowbarker 2024-07-17 22:36:17 +09:00
4 changed files with 8 additions and 8 deletions

View file

@ -16,6 +16,8 @@ __BEGIN_DECLS
#define EXIT_FAILURE 1
#define MB_CUR_MAX 4
__attribute__((noreturn)) void _abort();
__attribute__((malloc)) __attribute__((alloc_size(1))) void* malloc(size_t);
__attribute__((malloc)) __attribute__((alloc_size(1, 2))) void* calloc(size_t nmemb, size_t);
size_t malloc_size(void*);