mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
merge from gcc
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user