1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 14:02:07 -08:00

(malloc, realloc, calloc): Remove decls;

stdlib.h now does this.
This commit is contained in:
Paul Eggert 1999-11-22 08:20:40 +00:00
parent ca9c056758
commit 08e3087b62

View file

@ -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