aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmalloc.c
diff options
context:
space:
mode:
authorGlenn Morris2019-06-01 12:04:42 -0700
committerGlenn Morris2019-06-01 12:04:42 -0700
commit7e911d007d25df9a483eaad54956a4273405574e (patch)
treece1e4b0eda6c940634922e71a726b5c8aa5270b4 /src/gmalloc.c
parentf17e0e93bd8dbe3b069029585dc5d2dda57c1e1e (diff)
parent134edc10367a8434167656e631865c85b5f10c42 (diff)
downloademacs-7e911d007d25df9a483eaad54956a4273405574e.tar.gz
emacs-7e911d007d25df9a483eaad54956a4273405574e.zip
Merge from origin/emacs-26
134edc1 Warn about wrong number of args for subrs (Bug#35767) 5f01af6 Use plain symbols for eieio type descriptors (Bug#29220) 4b24b01 Pacify GCC 9 -Wredundant-decls
Diffstat (limited to 'src/gmalloc.c')
-rw-r--r--src/gmalloc.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gmalloc.c b/src/gmalloc.c
index b6a96d55727..779cdb36d67 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -181,7 +181,7 @@ struct list
181 }; 181 };
182 182
183/* Free list headers for each fragment size. */ 183/* Free list headers for each fragment size. */
184extern struct list _fraghead[]; 184static struct list _fraghead[BLOCKLOG];
185 185
186/* List of blocks allocated with aligned_alloc and friends. */ 186/* List of blocks allocated with aligned_alloc and friends. */
187struct alignlist 187struct alignlist
@@ -339,9 +339,6 @@ size_t _heapindex;
339/* Limit of valid info table indices. */ 339/* Limit of valid info table indices. */
340size_t _heaplimit; 340size_t _heaplimit;
341 341
342/* Free lists for each fragment size. */
343struct list _fraghead[BLOCKLOG];
344
345/* Instrumentation. */ 342/* Instrumentation. */
346size_t _chunks_used; 343size_t _chunks_used;
347size_t _bytes_used; 344size_t _bytes_used;
@@ -351,10 +348,6 @@ size_t _bytes_free;
351/* Are you experienced? */ 348/* Are you experienced? */
352int __malloc_initialized; 349int __malloc_initialized;
353 350
354#else
355
356static struct list _fraghead[BLOCKLOG];
357
358#endif /* HYBRID_MALLOC */ 351#endif /* HYBRID_MALLOC */
359 352
360/* Number of extra blocks to get each time we ask for more core. 353/* Number of extra blocks to get each time we ask for more core.