]> git.deb.at Git - pkg/abook.git/blobdiff - xmalloc.h
- avoid possible collision with readline xmalloc functions
[pkg/abook.git] / xmalloc.h
index 61e25c2283f35179e88f60fdc486c74be9a7d042..61ea5b5c69df1e6720093961dacfe77b1dc6bec3 100644 (file)
--- a/xmalloc.h
+++ b/xmalloc.h
@@ -3,6 +3,13 @@
 
 #include <stdlib.h> /* for size_t */
 
+/*
+ * avoid possible collision with readline xmalloc functions
+ */
+
+#define xmalloc                _xmalloc_xmalloc
+#define xrealloc       _xmalloc_xrealloc
+
 void           xmalloc_set_error_handler(void (*)(int));
 void *         xmalloc(size_t);
 void *         xmalloc0(size_t);