projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented long variable names a la spss V12.
[pspp]
/
src
/
alloc.c
diff --git
a/src/alloc.c
b/src/alloc.c
index 267bf2baec09c652807d24cae3a879f128c393c3..a0c2fbac5bbf4a79648cb2663f1bcddc99855228 100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-19,12
+19,10
@@
#include <config.h>
#include "alloc.h"
#include <config.h>
#include "alloc.h"
-#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
+#include "error.h"
#include "str.h"
#include "str.h"
-
-static void out_of_memory (void);
\f
/* Public functions. */
\f
/* Public functions. */
@@
-106,11
+104,9
@@
xstrdup (const char *s)
memcpy (t, s, size);
return t;
}
memcpy (t, s, size);
return t;
}
-
\f
-/* Private functions. */
/* Report an out-of-memory condition and abort execution. */
/* Report an out-of-memory condition and abort execution. */
-
static
void
+void
out_of_memory (void)
{
fprintf (stderr, "virtual memory exhausted\n");
out_of_memory (void)
{
fprintf (stderr, "virtual memory exhausted\n");