forked from Bananymous/banan-os
LibC: add declarations for malloc and free
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <stddef.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
__attribute__((__noreturn__))
|
||||
void abort(void);
|
||||
|
||||
void* malloc(size_t);
|
||||
void free(void*);
|
||||
|
||||
__END_DECLS
|
||||
Reference in New Issue
Block a user