Mercurial > emacs
comparison src/m/alpha.h @ 13534:25cd5b83d805
Declare calloc like malloc.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 13 Nov 1995 05:06:14 +0000 |
parents | 1d69a0ea30ec |
children | 0e584934cd9e |
comparison
equal
deleted
inserted
replaced
13533:d081e1969406 | 13534:25cd5b83d805 |
---|---|
229 /* We need to prototype these for the lib-src programs even if we don't | 229 /* We need to prototype these for the lib-src programs even if we don't |
230 use the system malloc for the Emacs proper. */ | 230 use the system malloc for the Emacs proper. */ |
231 #ifdef _MALLOC_INTERNAL | 231 #ifdef _MALLOC_INTERNAL |
232 /* These declarations are designed to match the ones in gmalloc.c. */ | 232 /* These declarations are designed to match the ones in gmalloc.c. */ |
233 #if defined (__STDC__) && __STDC__ | 233 #if defined (__STDC__) && __STDC__ |
234 extern void *malloc (), *realloc (); | 234 extern void *malloc (), *realloc (), *calloc (); |
235 #else | 235 #else |
236 extern char *malloc (), *realloc (); | 236 extern char *malloc (), *realloc (), *calloc (); |
237 #endif | 237 #endif |
238 #else /* not _MALLOC_INTERNAL */ | 238 #else /* not _MALLOC_INTERNAL */ |
239 extern void *malloc (), *realloc (); | 239 extern void *malloc (), *realloc (), *calloc (); |
240 #endif /* not _MALLOC_INTERNAL */ | 240 #endif /* not _MALLOC_INTERNAL */ |
241 | 241 |
242 | 242 |
243 extern long *xmalloc (), *xrealloc (); | 243 extern long *xmalloc (), *xrealloc (); |
244 | 244 |