forked from Bananymous/banan-os
LibC: add declarations for malloc and free
This commit is contained in:
parent
f1f5e76636
commit
10ef3c6a54
|
@ -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
|
Loading…
Reference in New Issue