From 08e3087b6239fbb10aae860672e6fd8b41a08ee9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 22 Nov 1999 08:20:40 +0000 Subject: [PATCH] (malloc, realloc, calloc): Remove decls; stdlib.h now does this. --- src/m/alpha.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/m/alpha.h b/src/m/alpha.h index f211ef17cab..53e4d51c939 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h @@ -234,9 +234,6 @@ NOTE-END #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 @@ NOTE-END #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 -- 2.39.5