This repository has been archived on 2021-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
OS/pintos-env/pintos/threads/malloc.h

14 lines
303 B
C
Raw Permalink Normal View History

#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 */