From: Jaakko Heinonen Date: Mon, 1 Aug 2005 07:55:56 +0000 (+0000) Subject: - avoid possible collision with readline xmalloc functions X-Git-Tag: upstream/0.6.1~2^2~190 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=7b4ce3288538a5f29c2293f43b177df86b44284c;p=pkg%2Fabook.git - avoid possible collision with readline xmalloc functions --- diff --git a/xmalloc.h b/xmalloc.h index 61e25c2..61ea5b5 100644 --- a/xmalloc.h +++ b/xmalloc.h @@ -3,6 +3,13 @@ #include /* 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);