Update libiberty sources with changes in the gcc mainline.
[deliverable/binutils-gdb.git] / libiberty / calloc.c
index 50736823077c017e799f596873668629c932659c..f4bd27b1cd2a460c89c1e5ba2e3e94190db98c85 100644 (file)
@@ -13,19 +13,14 @@ Uses @code{malloc} to allocate storage for @var{nelem} objects of
 */
  
 #include "ansidecl.h"
-#ifdef ANSI_PROTOTYPES
 #include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
 
 /* For systems with larger pointers than ints, this must be declared.  */
-PTR malloc PARAMS ((size_t));
-void bzero PARAMS ((PTR, size_t));
+PTR malloc (size_t);
+void bzero (PTR, size_t);
 
 PTR
-calloc (nelem, elsize)
-  size_t nelem, elsize;
+calloc (size_t nelem, size_t elsize)
 {
   register PTR ptr;  
 
This page took 0.024668 seconds and 4 git commands to generate.