diff options
| author | Richard M. Stallman | 1995-06-15 13:57:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-15 13:57:17 +0000 |
| commit | 1ba29850a740814aa83247f83399f6fd62c79fd3 (patch) | |
| tree | bb191376dbc59addbc730b4442bb62510d64495e /src | |
| parent | fc0cb073e0ae12a632c7cabc46cb4782dee291f5 (diff) | |
| download | emacs-1ba29850a740814aa83247f83399f6fd62c79fd3.tar.gz emacs-1ba29850a740814aa83247f83399f6fd62c79fd3.zip | |
(LD_SWITCH_MACHINE): Don't define it.
(malloc, realloc): If non-ANSI C, declare value as char *.
Diffstat (limited to 'src')
| -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 0b4db8bb6fc..0358ab65fa8 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -169,12 +169,15 @@ NOTE-END | |||
| 169 | #define LIBS_MACHINE -ldnet_stub | 169 | #define LIBS_MACHINE -ldnet_stub |
| 170 | #endif | 170 | #endif |
| 171 | 171 | ||
| 172 | #if 0 /* Rainer Schoepf <schoepf@uni-mainz.de> says this loses with X11R6 | ||
| 173 | since it has only shared libraries. */ | ||
| 172 | #ifndef __GNUC__ | 174 | #ifndef __GNUC__ |
| 173 | /* This apparently is for the system ld as opposed to Gnu ld. */ | 175 | /* This apparently is for the system ld as opposed to Gnu ld. */ |
| 174 | #ifdef OSF1 | 176 | #ifdef OSF1 |
| 175 | #define LD_SWITCH_MACHINE -non_shared | 177 | #define LD_SWITCH_MACHINE -non_shared |
| 176 | #endif | 178 | #endif |
| 177 | #endif | 179 | #endif |
| 180 | #endif /* 0 */ | ||
| 178 | 181 | ||
| 179 | #define LIBS_DEBUG | 182 | #define LIBS_DEBUG |
| 180 | #define START_FILES pre-crt0.o | 183 | #define START_FILES pre-crt0.o |
| @@ -230,7 +233,12 @@ NOTE-END | |||
| 230 | 233 | ||
| 231 | /* We need to prototype these for the lib-src programs even if we don't | 234 | /* We need to prototype these for the lib-src programs even if we don't |
| 232 | use the system malloc for the Emacs proper. */ | 235 | use the system malloc for the Emacs proper. */ |
| 236 | /* These declarations are designed to match the ones in gmalloc.c. */ | ||
| 237 | #if defined (__STDC__) && __STDC__ | ||
| 233 | extern void *malloc (), *realloc (); | 238 | extern void *malloc (), *realloc (); |
| 239 | #else | ||
| 240 | extern char *malloc (), *realloc (); | ||
| 241 | #endif | ||
| 234 | 242 | ||
| 235 | extern long *xmalloc (), *xrealloc (); | 243 | extern long *xmalloc (), *xrealloc (); |
| 236 | 244 | ||