summaryrefslogtreecommitdiffstats
path: root/mount/xmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mount/xmalloc.h')
-rw-r--r--mount/xmalloc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mount/xmalloc.h b/mount/xmalloc.h
new file mode 100644
index 000000000..91d64c5a3
--- /dev/null
+++ b/mount/xmalloc.h
@@ -0,0 +1,8 @@
+#include <sys/types.h>
+#include <stdarg.h>
+
+extern void *xmalloc(size_t size);
+extern void *xrealloc(void *p, size_t size);
+extern char *xstrdup(const char *s);
+extern void die(int err, const char *fmt, ...);
+extern void (*at_die)(void);