Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d9780682
Commit
d9780682
authored
May 05, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(bcopy, bzero, bcmp): Don't let string.h prototype these.
parent
3162bafa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
src/m/alpha.h
src/m/alpha.h
+13
-0
No files found.
src/m/alpha.h
View file @
d9780682
...
...
@@ -196,7 +196,20 @@ NOTE-END
#ifndef THIS_IS_YMAKEFILE
/* We need these because pointers are larger than the default ints. */
#include <alloca.h>
/* 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 <string.h>
#undef bcopy
#undef bzero
#undef bcmp
extern
void
*
malloc
(),
*
realloc
();
extern
long
*
xmalloc
(),
*
xrealloc
();
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment