provided code

This commit is contained in:
LabTS
2024-10-01 23:37:39 +01:00
commit 8724a2641e
697 changed files with 74252 additions and 0 deletions

13
src/threads/malloc.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef THREADS_MALLOC_H
#define THREADS_MALLOC_H
#include <debug.h>
#include <stddef.h>
void malloc_init (void);
void *malloc (size_t) __attribute__ ((malloc));
void *calloc (size_t, size_t) __attribute__ ((malloc));
void *realloc (void *, size_t);
void free (void *);
#endif /* threads/malloc.h */