Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ee0a8e74
Commit
ee0a8e74
authored
Apr 10, 1995
by
Richard M. Stallman
Browse files
Include alloca.h, string.h. Test NOT_C_CODE.
(xmalloc, xrealloc): Declare them.
parent
4455f41c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/s/osf1.h
src/s/osf1.h
+6
-0
No files found.
src/s/osf1.h
View file @
ee0a8e74
...
...
@@ -24,6 +24,12 @@
/* Declare malloc and realloc in a way that is clean.
But not in makefiles! */
#ifndef NOT_C_CODE
#ifndef THIS_IS_YMAKEFILE
/* We need these because pointers are larger than the default ints. */
#include <alloca.h>
#include <string.h>
extern
void
*
malloc
(),
*
realloc
();
extern
long
*
xmalloc
(),
*
xrealloc
();
#endif
#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