diff options
| author | Richard M. Stallman | 1995-11-13 05:06:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-13 05:06:14 +0000 |
| commit | 6441db6b0bb66fcd588c1a0ec0b17f2fbefb5640 (patch) | |
| tree | 5c5a7f4b3e723d5a2e162ebfb046a98b34052d69 /src/m | |
| parent | 10fe2d3844a4a787ad31df4c1f8cedf1a0d30218 (diff) | |
| download | emacs-6441db6b0bb66fcd588c1a0ec0b17f2fbefb5640.tar.gz emacs-6441db6b0bb66fcd588c1a0ec0b17f2fbefb5640.zip | |
Declare calloc like malloc.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alpha.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 50a6a68b885..f4579dfe663 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -231,12 +231,12 @@ NOTE-END | |||
| 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 | ||