Porting PicoTCP WIP
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include "dlmalloc/malloc.h"
|
||||
#include "hal/hal.h"
|
||||
|
||||
void *malloc(size_t size) {
|
||||
return dlmalloc(size);
|
||||
@ -8,3 +9,7 @@ void *malloc(size_t size) {
|
||||
void free(void *ptr) {
|
||||
dlfree(ptr);
|
||||
}
|
||||
|
||||
void *calloc(size_t size, size_t n) {
|
||||
return dlcalloc(size, n);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user