aboutsummaryrefslogtreecommitdiffstats
path: root/src/m
diff options
context:
space:
mode:
authorDave Love2000-06-23 16:55:37 +0000
committerDave Love2000-06-23 16:55:37 +0000
commit3347875f82a1ce290a35a92c8a1254fbb7dd8330 (patch)
tree5c9da9ca3cfe4cdd3d1ca3397a31d582937b60cf /src/m
parentc8875a656cfba42f646c4f7e25429e2c3b1588ce (diff)
downloademacs-3347875f82a1ce290a35a92c8a1254fbb7dd8330.tar.gz
emacs-3347875f82a1ce290a35a92c8a1254fbb7dd8330.zip
Remove string.h hack.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/alpha.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index 511619fd644..0f103308b89 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -32,7 +32,8 @@ NOTE-END
32#define BITS_PER_LONG 64 32#define BITS_PER_LONG 64
33#define BITS_PER_EMACS_INT 64 33#define BITS_PER_EMACS_INT 64
34#ifndef _LP64 34#ifndef _LP64
35#define _LP64 35#define _LP64 /* This doesn't appear to be necessary
36 on OSF 4/5 -- fx. */
36#endif 37#endif
37 38
38/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word 39/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
@@ -243,19 +244,6 @@ NOTE-END
243#include <alloca.h> 244#include <alloca.h>
244#endif 245#endif
245 246
246/* Hack alert! For reasons unknown to mankind the string.h file insists
247 on defining bcopy etc. as taking char pointers as arguments. With
248 Emacs this produces an endless amount of warning which are harmless,
249 but tends to flood the real errors. This hack works around this problem
250 by not prototyping. */
251#define bcopy string_h_bcopy
252#define bzero string_h_bzero
253#define bcmp string_h_bcmp
254#include <string.h>
255#undef bcopy
256#undef bzero
257#undef bcmp
258
259#ifdef REL_ALLOC 247#ifdef REL_ALLOC
260#ifndef _MALLOC_INTERNAL 248#ifndef _MALLOC_INTERNAL
261/* "char *" because ralloc.c defines it that way. gmalloc.c thinks it 249/* "char *" because ralloc.c defines it that way. gmalloc.c thinks it