summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mapalloc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/mapalloc.h b/include/mapalloc.h
new file mode 100644
index 0000000..f4a4434
--- /dev/null
+++ b/include/mapalloc.h
@@ -0,0 +1,11 @@
+#ifndef MAPALLOC_H
+#define MAPALLOC_H
+
+#include <stddef.h> /* for the definition of size_t */
+
+void *map_malloc(size_t n);
+void *map_calloc(size_t nelem, size_t elsize);
+void *map_realloc(void *ptr, size_t n);
+void map_free(void *ptr);
+
+#endif