aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab1997-11-28 14:32:30 +0000
committerAndreas Schwab1997-11-28 14:32:30 +0000
commitd457598bf6a6a402d01de8e6ca0aca5b0ed46fdb (patch)
treea3b30125a02b26a93be5834fe8c1b29dd2dab8ce /src
parent71a956a6143dc45807a9e8d1c1c493dd77857a30 (diff)
downloademacs-d457598bf6a6a402d01de8e6ca0aca5b0ed46fdb.tar.gz
emacs-d457598bf6a6a402d01de8e6ca0aca5b0ed46fdb.zip
(malloc_warning, display_malloc_warning): Return void.
(memory_full, free_cons, free_marker): Likewise.
Diffstat (limited to 'src')
-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)
204} 204}
205 205
206/* malloc calls this if it finds we are near exhausting storage */ 206/* malloc calls this if it finds we are near exhausting storage */
207
208void
207malloc_warning (str) 209malloc_warning (str)
208 char *str; 210 char *str;
209{ 211{
210 pending_malloc_warning = str; 212 pending_malloc_warning = str;
211} 213}
212 214
215void
213display_malloc_warning () 216display_malloc_warning ()
214{ 217{
215 register Lisp_Object val; 218 register Lisp_Object val;
@@ -227,6 +230,7 @@ display_malloc_warning ()
227 230
228/* Called if malloc returns zero */ 231/* Called if malloc returns zero */
229 232
233void
230memory_full () 234memory_full ()
231{ 235{
232#ifndef SYSTEM_MALLOC 236#ifndef SYSTEM_MALLOC
@@ -667,6 +671,8 @@ init_cons ()
667} 671}
668 672
669/* Explicitly free a cons cell. */ 673/* Explicitly free a cons cell. */
674
675void
670free_cons (ptr) 676free_cons (ptr)
671 struct Lisp_Cons *ptr; 677 struct Lisp_Cons *ptr;
672{ 678{
@@ -1045,6 +1051,7 @@ DEFUN ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0,
1045 1051
1046/* Put MARKER back on the free list after using it temporarily. */ 1052/* Put MARKER back on the free list after using it temporarily. */
1047 1053
1054void
1048free_marker (marker) 1055free_marker (marker)
1049 Lisp_Object marker; 1056 Lisp_Object marker;
1050{ 1057{