summaryrefslogtreecommitdiff
path: root/src/include/stdlib.h
blob: 34ef93abc5e900a2a7f38523f2cffd97fbf56780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef STDLIB_H
#define STDLIB_H

#include <stddef.h>

#define min(a, b) MIN((a), (b))
#define max(a, b) MAX((a), (b))

void *memalign(size_t boundary, size_t size);
void *malloc(size_t size);
/* We never free memory */
static inline void free(void *ptr) {}

#endif /* STDLIB_H */