]> git.deb.at Git - pkg/abook.git/commitdiff
- avoid possible collision with readline xmalloc functions
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Mon, 1 Aug 2005 07:55:56 +0000 (07:55 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Mon, 1 Aug 2005 07:55:56 +0000 (07:55 +0000)
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);