diff -ur liblbxutil-1.1.0.old/src/delta/lbxdelta.c liblbxutil-1.1.0/src/delta/lbxdelta.c --- liblbxutil-1.1.0.old/src/delta/lbxdelta.c 2013-02-14 11:28:14.000000000 +0000 +++ liblbxutil-1.1.0/src/delta/lbxdelta.c 2013-02-14 11:41:25.008256946 +0000 @@ -49,10 +49,9 @@ #define _HAVE_XALLOC_DECLS #include -extern pointer Xalloc(unsigned long /*amount*/); -extern pointer Xcalloc(unsigned long /*amount*/); -extern pointer Xrealloc(pointer /*ptr*/, unsigned long /*amount*/); -extern void Xfree(pointer /*ptr*/); +#include +#define Xalloc(p) (malloc(p)) +#define Xfree(p) (free(p)) #endif /* diff -ur liblbxutil-1.1.0.old/src/lbx_zlib/lbx_zlib.h liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.h --- liblbxutil-1.1.0.old/src/lbx_zlib/lbx_zlib.h 2013-02-14 11:28:14.000000000 +0000 +++ liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.h 2013-02-14 11:40:28.245793774 +0000 @@ -129,10 +129,9 @@ #define _HAVE_XALLOC_DECLS #include -extern pointer Xalloc(unsigned long /*amount*/); -extern pointer Xcalloc(unsigned long /*amount*/); -extern pointer Xrealloc(pointer /*ptr*/, unsigned long /*amount*/); -extern void Xfree(pointer /*ptr*/); +#include +#define Xalloc(p) (malloc(p)) +#define Xfree(p) (free(p)) #endif /* lbx_zlib.c */