changeset 26527:789dee6f1a09

(malloc, realloc, calloc): Remove decls; stdlib.h now does this.
author Paul Eggert <eggert@twinsun.com>
date Mon, 22 Nov 1999 08:20:40 +0000
parents b7438760079b
children 6b226f263365
files src/m/alpha.h
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/alpha.h	Mon Nov 22 08:19:51 1999 +0000
+++ b/src/m/alpha.h	Mon Nov 22 08:20:40 1999 +0000
@@ -234,9 +234,6 @@
 
 #define XPNTR(a) XUINT (a)
 
-/* Declare malloc and realloc in a way that is clean.
-   But not in makefiles!  */
-
 #ifndef NOT_C_CODE
 /* We need these because pointers are larger than the default ints.  */
 #if !defined(__NetBSD__) && !defined(__OpenBSD__)
@@ -256,20 +253,6 @@
 #undef bzero
 #undef bcmp
 
-/* We need to prototype these for the lib-src programs even if we don't
-   use the system malloc for the Emacs proper.  */
-#ifdef _MALLOC_INTERNAL
-/* These declarations are designed to match the ones in gmalloc.c.  */
-#if defined (__STDC__) && __STDC__
-extern void *malloc (), *realloc (), *calloc ();
-#else
-extern char *malloc (), *realloc (), *calloc ();
-#endif
-#else /* not _MALLOC_INTERNAL */
-extern void *malloc (), *realloc (), *calloc ();
-#endif /* not _MALLOC_INTERNAL */
-
-
 extern long *xmalloc (), *xrealloc ();
 
 #ifdef REL_ALLOC