From 8a64107f7de6db557a2c43147369c6a93adf6668 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 2 Mar 2019 23:02:01 -0800 Subject: [PATCH] Fix typo in previous change * src/alloc.c (memory_full_cons_threshold): Move to after definition of struct cons_block. Problem reported by Basil L. Contovounesios in: https://lists.gnu.org/r/emacs-devel/2019-03/msg00067.html --- src/alloc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/alloc.c b/src/alloc.c index 9b3dc4be993..6b366485550 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -231,11 +231,6 @@ byte_ct consing_since_gc; byte_ct gc_relative_threshold; -/* Minimum number of bytes of consing since GC before next GC, - when memory is full. */ - -byte_ct const memory_full_cons_threshold = sizeof (struct cons_block); - #ifdef HAVE_PDUMPER /* Number of finalizers run: used to loop over GC until we stop generating garbage. */ @@ -2754,6 +2749,11 @@ struct cons_block #define XUNMARK_CONS(fptr) \ UNSETMARKBIT (CONS_BLOCK (fptr), CONS_INDEX ((fptr))) +/* Minimum number of bytes of consing since GC before next GC, + when memory is full. */ + +byte_ct const memory_full_cons_threshold = sizeof (struct cons_block); + /* Current cons_block. */ static struct cons_block *cons_block; -- 2.39.5