Declare calloc like malloc.
This commit is contained in:
parent
10fe2d3844
commit
6441db6b0b
1 changed files with 3 additions and 3 deletions
|
@ -231,12 +231,12 @@ NOTE-END
|
|||
#ifdef _MALLOC_INTERNAL
|
||||
/* These declarations are designed to match the ones in gmalloc.c. */
|
||||
#if defined (__STDC__) && __STDC__
|
||||
extern void *malloc (), *realloc ();
|
||||
extern void *malloc (), *realloc (), *calloc ();
|
||||
#else
|
||||
extern char *malloc (), *realloc ();
|
||||
extern char *malloc (), *realloc (), *calloc ();
|
||||
#endif
|
||||
#else /* not _MALLOC_INTERNAL */
|
||||
extern void *malloc (), *realloc ();
|
||||
extern void *malloc (), *realloc (), *calloc ();
|
||||
#endif /* not _MALLOC_INTERNAL */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue