# HG changeset patch # User Richard M. Stallman # Date 799640481 0 # Node ID d43754b30133209c222600bc1ec1d82181a91083 # Parent 0f9b9c3754160843393e22998ff45486294ca32a (bcopy, bzero, bcmp): Don't let string.h prototype these. diff -r 0f9b9c375416 -r d43754b30133 src/m/alpha.h --- a/src/m/alpha.h Fri May 05 02:16:54 1995 +0000 +++ b/src/m/alpha.h Fri May 05 02:21:21 1995 +0000 @@ -196,7 +196,20 @@ #ifndef THIS_IS_YMAKEFILE /* We need these because pointers are larger than the default ints. */ #include + +/* Hack alert! For reasons unknown to mankind the string.h file insists + on defining bcopy etc. as taking char pointers as arguments. With + Emacs this produces an endless amount of warning which are harmless, + but tends to flood the real errors. This hack works around this problem + by not prototyping. */ +#define bcopy string_h_bcopy +#define bzero string_h_bzero +#define bcmp string_h_bcmp #include +#undef bcopy +#undef bzero +#undef bcmp + extern void *malloc (), *realloc (); extern long *xmalloc (), *xrealloc (); #endif