diff options
author | Richard M. Stallman <[email protected]> | 1995-06-15 13:57:17 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1995-06-15 13:57:17 +0000 |
commit | 1ba29850a740814aa83247f83399f6fd62c79fd3 (patch) | |
tree | bb191376dbc59addbc730b4442bb62510d64495e /src/m | |
parent | fc0cb073e0ae12a632c7cabc46cb4782dee291f5 (diff) |
(LD_SWITCH_MACHINE): Don't define it.
(malloc, realloc): If non-ANSI C, declare value as char *.
Diffstat (limited to 'src/m')
-rw-r--r-- | src/m/alpha.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 0b4db8bb6f..0358ab65fa 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h @@ -169,12 +169,15 @@ NOTE-END #define LIBS_MACHINE -ldnet_stub #endif +#if 0 /* Rainer Schoepf <[email protected]> says this loses with X11R6 + since it has only shared libraries. */ #ifndef __GNUC__ /* This apparently is for the system ld as opposed to Gnu ld. */ #ifdef OSF1 #define LD_SWITCH_MACHINE -non_shared #endif #endif +#endif /* 0 */ #define LIBS_DEBUG #define START_FILES pre-crt0.o @@ -230,7 +233,12 @@ NOTE-END /* We need to prototype these for the lib-src programs even if we don't use the system malloc for the Emacs proper. */ +/* 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 extern long *xmalloc (), *xrealloc (); |