aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-11-13 05:06:14 +0000
committerRichard M. Stallman1995-11-13 05:06:14 +0000
commit6441db6b0bb66fcd588c1a0ec0b17f2fbefb5640 (patch)
tree5c5a7f4b3e723d5a2e162ebfb046a98b34052d69 /src
parent10fe2d3844a4a787ad31df4c1f8cedf1a0d30218 (diff)
downloademacs-6441db6b0bb66fcd588c1a0ec0b17f2fbefb5640.tar.gz
emacs-6441db6b0bb66fcd588c1a0ec0b17f2fbefb5640.zip
Declare calloc like malloc.
Diffstat (limited to 'src')
-rw-r--r--src/m/alpha.h6
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__
234extern void *malloc (), *realloc (); 234extern void *malloc (), *realloc (), *calloc ();
235#else 235#else
236extern char *malloc (), *realloc (); 236extern char *malloc (), *realloc (), *calloc ();
237#endif 237#endif
238#else /* not _MALLOC_INTERNAL */ 238#else /* not _MALLOC_INTERNAL */
239extern void *malloc (), *realloc (); 239extern void *malloc (), *realloc (), *calloc ();
240#endif /* not _MALLOC_INTERNAL */ 240#endif /* not _MALLOC_INTERNAL */
241 241
242 242