diff options
| author | Dave Love | 2002-11-18 16:27:08 +0000 |
|---|---|---|
| committer | Dave Love | 2002-11-18 16:27:08 +0000 |
| commit | 1cc715622612ef1a8f8a9ae7ad7c2608d402d30b (patch) | |
| tree | 1ffe318c148afa4436fb56b6204435a3067b957c /src | |
| parent | 91b5aa9aac9689fedade6e96db7fb2935637635f (diff) | |
| download | emacs-1cc715622612ef1a8f8a9ae7ad7c2608d402d30b.tar.gz emacs-1cc715622612ef1a8f8a9ae7ad7c2608d402d30b.zip | |
Don't include alloca.h, stdlib.h. Don't declare
malloc, realloc, calloc.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/ia64.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/m/ia64.h b/src/m/ia64.h index dff99e73496..7fef9055a8e 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -133,30 +133,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 133 | #define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) | 133 | #define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) |
| 134 | #define XUINT(a) ((long) (a) & VALMASK) | 134 | #define XUINT(a) ((long) (a) & VALMASK) |
| 135 | 135 | ||
| 136 | /* Declare malloc and realloc in a way that is clean. | ||
| 137 | But not in makefiles! */ | ||
| 138 | |||
| 139 | #ifndef NOT_C_CODE | ||
| 140 | /* We need these because pointers are larger than the default ints. */ | ||
| 141 | # if !defined(__NetBSD__) && !defined(__OpenBSD__) | ||
| 142 | # include <alloca.h> | ||
| 143 | # else | ||
| 144 | # include <stdlib.h> | ||
| 145 | # endif | ||
| 146 | |||
| 147 | /* We need to prototype these for the lib-src programs even if we don't | ||
| 148 | use the system malloc for the Emacs proper. */ | ||
| 149 | #ifdef _MALLOC_INTERNAL | ||
| 150 | /* These declarations are designed to match the ones in gmalloc.c. */ | ||
| 151 | #if defined (__STDC__) && __STDC__ | ||
| 152 | extern void *malloc (), *realloc (), *calloc (); | ||
| 153 | #else | ||
| 154 | extern char *malloc (), *realloc (), *calloc (); | ||
| 155 | #endif | ||
| 156 | #else /* not _MALLOC_INTERNAL */ | ||
| 157 | extern void *malloc (), *realloc (), *calloc (); | ||
| 158 | #endif /* not _MALLOC_INTERNAL */ | ||
| 159 | |||
| 160 | #ifdef REL_ALLOC | 136 | #ifdef REL_ALLOC |
| 161 | #ifndef _MALLOC_INTERNAL | 137 | #ifndef _MALLOC_INTERNAL |
| 162 | /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it | 138 | /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it |