diff options
| author | Andreas Schwab | 1997-11-28 14:32:30 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1997-11-28 14:32:30 +0000 |
| commit | d457598bf6a6a402d01de8e6ca0aca5b0ed46fdb (patch) | |
| tree | a3b30125a02b26a93be5834fe8c1b29dd2dab8ce /src | |
| parent | 71a956a6143dc45807a9e8d1c1c493dd77857a30 (diff) | |
| download | emacs-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.c | 7 |
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 | |||
| 208 | void | ||
| 207 | malloc_warning (str) | 209 | malloc_warning (str) |
| 208 | char *str; | 210 | char *str; |
| 209 | { | 211 | { |
| 210 | pending_malloc_warning = str; | 212 | pending_malloc_warning = str; |
| 211 | } | 213 | } |
| 212 | 214 | ||
| 215 | void | ||
| 213 | display_malloc_warning () | 216 | display_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 | ||
| 233 | void | ||
| 230 | memory_full () | 234 | memory_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 | |||
| 675 | void | ||
| 670 | free_cons (ptr) | 676 | free_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 | ||
| 1054 | void | ||
| 1048 | free_marker (marker) | 1055 | free_marker (marker) |
| 1049 | Lisp_Object marker; | 1056 | Lisp_Object marker; |
| 1050 | { | 1057 | { |