]> diplodocus.org Git - nmh/blobdiff - h/utils.h
Tweak mh_xrealloc(); print size on error, follow POSIX.
[nmh] / h / utils.h
index 3a428193fb50618b4973fee1d68fd86dfeee2734..20ebd2cf1234b56abe91136a1f616340d6b090f6 100644 (file)
--- a/h/utils.h
+++ b/h/utils.h
@@ -6,7 +6,9 @@
 /* Call malloc(3), exiting on NULL return. */
 void *mh_xmalloc(size_t);
 
+/* Call realloc(3), exiting on NULL return. */
 void *mh_xrealloc(void *, size_t);
+
 void *mh_xcalloc(size_t, size_t);
 char *pwd(void);
 char *add(const char *, char *);