aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert1999-11-22 08:20:40 +0000
committerPaul Eggert1999-11-22 08:20:40 +0000
commit08e3087b6239fbb10aae860672e6fd8b41a08ee9 (patch)
tree938dddf011e4a3cbf2d8697178fed9a6dc7e7105
parentca9c056758a507f1508933de24d2410188b978fb (diff)
downloademacs-08e3087b6239fbb10aae860672e6fd8b41a08ee9.tar.gz
emacs-08e3087b6239fbb10aae860672e6fd8b41a08ee9.zip
(malloc, realloc, calloc): Remove decls;
stdlib.h now does this.
-rw-r--r--src/m/alpha.h17
1 files changed, 0 insertions, 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
234 234
235#define XPNTR(a) XUINT (a) 235#define XPNTR(a) XUINT (a)
236 236
237/* Declare malloc and realloc in a way that is clean.
238 But not in makefiles! */
239
240#ifndef NOT_C_CODE 237#ifndef NOT_C_CODE
241/* We need these because pointers are larger than the default ints. */ 238/* We need these because pointers are larger than the default ints. */
242#if !defined(__NetBSD__) && !defined(__OpenBSD__) 239#if !defined(__NetBSD__) && !defined(__OpenBSD__)
@@ -256,20 +253,6 @@ NOTE-END
256#undef bzero 253#undef bzero
257#undef bcmp 254#undef bcmp
258 255
259/* We need to prototype these for the lib-src programs even if we don't
260 use the system malloc for the Emacs proper. */
261#ifdef _MALLOC_INTERNAL
262/* These declarations are designed to match the ones in gmalloc.c. */
263#if defined (__STDC__) && __STDC__
264extern void *malloc (), *realloc (), *calloc ();
265#else
266extern char *malloc (), *realloc (), *calloc ();
267#endif
268#else /* not _MALLOC_INTERNAL */
269extern void *malloc (), *realloc (), *calloc ();
270#endif /* not _MALLOC_INTERNAL */
271
272
273extern long *xmalloc (), *xrealloc (); 256extern long *xmalloc (), *xrealloc ();
274 257
275#ifdef REL_ALLOC 258#ifdef REL_ALLOC