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
34b4ece5
Commit
34b4ece5
authored
May 04, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include config.h.
(NO_SHORTNAMES): New definition. (xmalloc): Return long *.
parent
633796fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lib-src/make-docfile.c
lib-src/make-docfile.c
+5
-2
No files found.
lib-src/make-docfile.c
View file @
34b4ece5
...
...
@@ -31,6 +31,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
Then comes the documentation for that function or variable.
*/
#define NO_SHORTNAMES
/* Tell config not to load remap.h */
#include <../src/config.h>
#include <stdio.h>
#ifdef MSDOS
#include <fcntl.h>
...
...
@@ -84,11 +87,11 @@ fatal (s1, s2)
/* Like malloc but get fatal error if memory is exhausted. */
char
*
long
*
xmalloc
(
size
)
unsigned
int
size
;
{
char
*
result
=
(
char
*
)
malloc
(
size
);
long
*
result
=
(
long
*
)
malloc
(
size
);
if
(
result
==
NULL
)
fatal
(
"virtual memory exhausted"
,
0
);
return
result
;
...
...
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