X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fxmalloc.h;h=60ef839c698edd9de5c22f86c213698e3b79d20e;hb=d4981d86af4a523288d1eadca634b83fad0f37e8;hp=61f2485dea9509b1acf7104e264ac5d424b71d3a;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/include/yaz/xmalloc.h b/include/yaz/xmalloc.h index 61f2485..60ef839 100644 --- a/include/yaz/xmalloc.h +++ b/include/yaz/xmalloc.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: xmalloc.h,v 1.5 2005-01-15 19:47:10 adam Exp $ + * $Id: xmalloc.h,v 1.7 2005-06-25 15:46:03 adam Exp $ */ /** * \file xmalloc.h @@ -33,8 +33,7 @@ #ifndef XMALLOC_H #define XMALLOC_H -#include -#include +#include #include @@ -50,7 +49,7 @@ YAZ_BEGIN_CDECL YAZ_EXPORT void *xrealloc_f (void *o, size_t size, const char *file, int line); YAZ_EXPORT void *xmalloc_f (size_t size, const char *file, int line); YAZ_EXPORT void *xcalloc_f (size_t nmemb, size_t size, - const char *file, int line); + const char *file, int line); YAZ_EXPORT char *xstrdup_f (const char *p, const char *file, int line); YAZ_EXPORT void xfree_f (void *p, const char *file, int line); YAZ_EXPORT void xmalloc_trav_f(const char *s, const char *file, int line); @@ -58,3 +57,11 @@ YAZ_EXPORT void xmalloc_trav_f(const char *s, const char *file, int line); YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +