comparison src/m/ia64.h @ 31997:ab473e4fb307

Remove hack of not prototyping bcopy, etc.
author Andreas Schwab <schwab@suse.de>
date Fri, 29 Sep 2000 13:00:37 +0000
parents 89ad08bb037c
children 4be8406ebef9
comparison
equal deleted inserted replaced
31996:ea0299ebce0e 31997:ab473e4fb307
151 # include <alloca.h> 151 # include <alloca.h>
152 # else 152 # else
153 # include <stdlib.h> 153 # include <stdlib.h>
154 # endif 154 # endif
155 155
156 /* Hack alert! For reasons unknown to mankind the string.h file insists
157 on defining bcopy etc. as taking char pointers as arguments. With
158 Emacs this produces an endless amount of warning which are harmless,
159 but tends to flood the real errors. This hack works around this problem
160 by not prototyping. */
161 #define bcopy string_h_bcopy
162 #define bzero string_h_bzero
163 #define bcmp string_h_bcmp
164 #include <string.h>
165 #undef bcopy
166 #undef bzero
167 #undef bcmp
168
169 /* We need to prototype these for the lib-src programs even if we don't 156 /* We need to prototype these for the lib-src programs even if we don't
170 use the system malloc for the Emacs proper. */ 157 use the system malloc for the Emacs proper. */
171 #ifdef _MALLOC_INTERNAL 158 #ifdef _MALLOC_INTERNAL
172 /* These declarations are designed to match the ones in gmalloc.c. */ 159 /* These declarations are designed to match the ones in gmalloc.c. */
173 #if defined (__STDC__) && __STDC__ 160 #if defined (__STDC__) && __STDC__