LibC: add declarations for malloc and free

This commit is contained in:
Bananymous 2023-03-04 02:59:48 +02:00
parent f1f5e76636
commit 10ef3c6a54
1 changed files with 4 additions and 0 deletions

View File

@ -1,10 +1,14 @@
#pragma once #pragma once
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <stddef.h>
__BEGIN_DECLS __BEGIN_DECLS
__attribute__((__noreturn__)) __attribute__((__noreturn__))
void abort(void); void abort(void);
void* malloc(size_t);
void free(void*);
__END_DECLS __END_DECLS