changeset 12301:69f08a14593b

(malloc, realloc): If not _MALLOC_INTERNAL, always use void *. (SYSTEM_MALLOC): Definition deleted.
author Richard M. Stallman <rms@gnu.org>
date Sun, 18 Jun 1995 13:24:32 +0000
parents d2f3dd6083d2
children 6d99dc5117e3
files src/m/alpha.h
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/alpha.h	Sat Jun 17 23:53:53 1995 +0000
+++ b/src/m/alpha.h	Sun Jun 18 13:24:32 1995 +0000
@@ -121,7 +121,7 @@
    mallocs work with "alpha-dec-osf2.0", but I daren't break anything
    right now.  Feel free to play if you want.  */
 
-#define SYSTEM_MALLOC
+/* #define SYSTEM_MALLOC */
 
 /* Define NO_REMAP if memory segmentation makes it not work well
    to change the boundary between the text section and data section
@@ -233,12 +233,17 @@
 
 /* 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 ();
 #else
 extern char *malloc (), *realloc ();
 #endif
+#else /* not _MALLOC_INTERNAL */
+extern void *malloc (), *realloc ();
+#endif /* not _MALLOC_INTERNAL */
+
 
 extern long *xmalloc (), *xrealloc ();