diff options
| author | Dan Nicolaescu | 2010-08-20 16:02:11 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-08-20 16:02:11 -0700 |
| commit | b5c76d0c4f52f347b1c79f94aaa8e91916814673 (patch) | |
| tree | edf1a26bec537801584415874d37cf16c131de41 /src/alloc.c | |
| parent | 748155880fc11549ab230b74e2cb2d03a4965630 (diff) | |
| download | emacs-b5c76d0c4f52f347b1c79f94aaa8e91916814673.tar.gz emacs-b5c76d0c4f52f347b1c79f94aaa8e91916814673.zip | |
Remove unused variables malloc_sbrk_used and malloc_sbrk_unused.
* src/alloc.c (malloc_sbrk_used, malloc_sbrk_unused): Remove,
write only.
(init_alloc_once): Remove writes to malloc_sbrk_unused, and
malloc_sbrk_used, nothing uses them.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/alloc.c b/src/alloc.c index 473c5622ab3..1f615a7d505 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -214,16 +214,6 @@ int abort_on_gc; | |||
| 214 | 214 | ||
| 215 | int garbage_collection_messages; | 215 | int garbage_collection_messages; |
| 216 | 216 | ||
| 217 | #ifndef VIRT_ADDR_VARIES | ||
| 218 | extern | ||
| 219 | #endif /* VIRT_ADDR_VARIES */ | ||
| 220 | int malloc_sbrk_used; | ||
| 221 | |||
| 222 | #ifndef VIRT_ADDR_VARIES | ||
| 223 | extern | ||
| 224 | #endif /* VIRT_ADDR_VARIES */ | ||
| 225 | int malloc_sbrk_unused; | ||
| 226 | |||
| 227 | /* Number of live and free conses etc. */ | 217 | /* Number of live and free conses etc. */ |
| 228 | 218 | ||
| 229 | static int total_conses, total_markers, total_symbols, total_vector_size; | 219 | static int total_conses, total_markers, total_symbols, total_vector_size; |
| @@ -6178,11 +6168,6 @@ init_alloc_once (void) | |||
| 6178 | consing_since_gc = 0; | 6168 | consing_since_gc = 0; |
| 6179 | gc_cons_threshold = 100000 * sizeof (Lisp_Object); | 6169 | gc_cons_threshold = 100000 * sizeof (Lisp_Object); |
| 6180 | gc_relative_threshold = 0; | 6170 | gc_relative_threshold = 0; |
| 6181 | |||
| 6182 | #ifdef VIRT_ADDR_VARIES | ||
| 6183 | malloc_sbrk_unused = 1<<22; /* A large number */ | ||
| 6184 | malloc_sbrk_used = 100000; /* as reasonable as any number */ | ||
| 6185 | #endif /* VIRT_ADDR_VARIES */ | ||
| 6186 | } | 6171 | } |
| 6187 | 6172 | ||
| 6188 | void | 6173 | void |