X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/532fff590b4cfbfbd0633d6b58ca1ab0fec2777d..e37c47de66b204837f684bc57f113aedbc19275a:/h/utils.h?ds=sidebyside diff --git a/h/utils.h b/h/utils.h index f8b21985..597569b5 100644 --- a/h/utils.h +++ b/h/utils.h @@ -17,7 +17,7 @@ void *mh_xmalloc(size_t size) MALLOC ALLOC_SIZE(1); void *mh_xrealloc(void *ptr, size_t size) ALLOC_SIZE(2); /* Call calloc(3), exiting on NULL return. */ -void *mh_xcalloc(size_t nelem, size_t elsize) MALLOC ALLOC_SIZE2(1, 2); +void *mh_xcalloc(size_t nelem, size_t elsize) MALLOC ALLOC_SIZE(1, 2); /* Duplicate a NUL-terminated string, exit on failure. */ char *mh_xstrdup(const char *src) MALLOC;