mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Add alloc functions to stdlib header
This commit is contained in:
parent
07e24dccda
commit
fedccbfd79
@ -18,4 +18,18 @@
|
|||||||
#ifndef _STDLIB_H
|
#ifndef _STDLIB_H
|
||||||
#define _STDLIB_H
|
#define _STDLIB_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void *malloc(__SIZE_TYPE__ Size);
|
||||||
|
void *calloc(__SIZE_TYPE__ n, __SIZE_TYPE__ Size);
|
||||||
|
void *realloc(void *Address, __SIZE_TYPE__ Size);
|
||||||
|
void free(void *Address);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // !_STDLIB_H
|
#endif // !_STDLIB_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user