merge from gcc

This commit is contained in:
DJ Delorie
2005-03-27 05:28:42 +00:00
parent 8da8e0b3f3
commit 9334f9c6cd
23 changed files with 579 additions and 875 deletions

View 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;