Commit 6441db6b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Declare calloc like malloc.

parent 10fe2d38
...@@ -231,12 +231,12 @@ NOTE-END ...@@ -231,12 +231,12 @@ NOTE-END
#ifdef _MALLOC_INTERNAL #ifdef _MALLOC_INTERNAL
/* These declarations are designed to match the ones in gmalloc.c. */ /* These declarations are designed to match the ones in gmalloc.c. */
#if defined (__STDC__) && __STDC__ #if defined (__STDC__) && __STDC__
extern void *malloc (), *realloc (); extern void *malloc (), *realloc (), *calloc ();
#else #else
extern char *malloc (), *realloc (); extern char *malloc (), *realloc (), *calloc ();
#endif #endif
#else /* not _MALLOC_INTERNAL */ #else /* not _MALLOC_INTERNAL */
extern void *malloc (), *realloc (); extern void *malloc (), *realloc (), *calloc ();
#endif /* not _MALLOC_INTERNAL */ #endif /* not _MALLOC_INTERNAL */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment