feat: reformatted code base to be more standard
This commit is contained in:
22
include/myke/mem/malloc.h
Normal file
22
include/myke/mem/malloc.h
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// Created by rick on 23-02-21.
|
||||
//
|
||||
|
||||
#ifndef NEW_KERNEL_MALLOC_H
|
||||
#define NEW_KERNEL_MALLOC_H
|
||||
// retrieved from https://github.com/blanham/liballoc
|
||||
#include <sys/types.h>
|
||||
|
||||
void *malloc(size_t);
|
||||
|
||||
void *realloc(void *, size_t);
|
||||
|
||||
void *calloc(size_t, size_t);
|
||||
|
||||
void free(void *);
|
||||
|
||||
#ifndef INCLUDE_STDLIB
|
||||
void print_malloc_info();
|
||||
#endif
|
||||
|
||||
#endif //NEW_KERNEL_MALLOC_H
|
||||
Reference in New Issue
Block a user