summaryrefslogtreecommitdiff
path: root/firmware/include/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/malloc.h')
-rw-r--r--firmware/include/malloc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/firmware/include/malloc.h b/firmware/include/malloc.h
new file mode 100644
index 0000000000..639675787a
--- /dev/null
+++ b/firmware/include/malloc.h
@@ -0,0 +1,26 @@
1/* malloc.h -- header file for memory routines. */
2
3#ifndef _INCLUDE_MALLOC_H_
4#define _INCLUDE_MALLOC_H_
5
6#include <_ansi.h>
7
8#define __need_size_t
9#include <stddef.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15/* The routines. */
16
17extern _PTR malloc _PARAMS ((size_t));
18extern _VOID free _PARAMS ((_PTR));
19extern _PTR realloc _PARAMS ((_PTR, size_t));
20extern _PTR calloc _PARAMS ((size_t, size_t));
21
22#ifdef __cplusplus
23}
24#endif
25
26#endif /* _INCLUDE_MALLOC_H_ */