summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1997-11-28 14:32:30 +0000
committerAndreas Schwab <schwab@suse.de>1997-11-28 14:32:30 +0000
commit408db573dd41f6176d0bb7845329be60338326b8 (patch)
treebe999affd2ee039982b8840cc4f43eaaaebe5e4b /src/alloc.c
parent70e8f2a53ad03a481a616fa9032903009b0c8248 (diff)
downloademacs-408db573dd41f6176d0bb7845329be60338326b8.tar.gz
(malloc_warning, display_malloc_warning): Return void.
(memory_full, free_cons, free_marker): Likewise.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index f00e342cdde..1ce32950da3 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -204,12 +204,15 @@ malloc_warning_1 (str)
}
/* malloc calls this if it finds we are near exhausting storage */
+
+void
malloc_warning (str)
char *str;
{
pending_malloc_warning = str;
}
+void
display_malloc_warning ()
{
register Lisp_Object val;
@@ -227,6 +230,7 @@ display_malloc_warning ()
/* Called if malloc returns zero */
+void
memory_full ()
{
#ifndef SYSTEM_MALLOC
@@ -667,6 +671,8 @@ init_cons ()
}
/* Explicitly free a cons cell. */
+
+void
free_cons (ptr)
struct Lisp_Cons *ptr;
{
@@ -1045,6 +1051,7 @@ DEFUN ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0,
/* Put MARKER back on the free list after using it temporarily. */
+void
free_marker (marker)
Lisp_Object marker;
{