* libiberty.h: Prototype xcalloc.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 13 Nov 1998 16:33:50 +0000 (16:33 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 13 Nov 1998 16:33:50 +0000 (16:33 +0000)
From-SVN: r23641

include/ChangeLog
include/libiberty.h

index 3b87813ef09de74a0d9fd888d6511bbac9fb0ab7..8d0093310feca24afbe102b814650658e6f554f2 100644 (file)
@@ -1,3 +1,7 @@
+Fri Nov 13 19:19:11 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * libiberty.h: Prototype xcalloc.
+
 Sun Nov  8 17:42:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * ansidecl.h: Wrap problematic macros with !IN_GCC.
index 6fb29d212237b9c1c61475a500acf83373ae5a02..86fec2dd6562880c2eaaf4fbb483a82c7758fb03 100644 (file)
@@ -135,6 +135,11 @@ extern PTR xmalloc PARAMS ((size_t));
 
 extern PTR xrealloc PARAMS ((PTR, size_t));
 
+/* Allocate memory without fail and set it to zero.  This works like
+   xmalloc.  */
+
+extern PTR xcalloc PARAMS ((size_t, size_t));
+
 /* Copy a string into a memory buffer without fail.  */
 
 extern char *xstrdup PARAMS ((const char *));