From 19f3020a34c3bb35a62dd69b7aee1c0465629ce8 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Sun, 7 Nov 2021 20:42:41 +0300 Subject: Hide AO_free_list symbol * src/atomic_ops_malloc.c (AO_free_list): Make it static. --- src/atomic_ops_malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/atomic_ops_malloc.c b/src/atomic_ops_malloc.c index adced80..a8cc1d1 100644 --- a/src/atomic_ops_malloc.c +++ b/src/atomic_ops_malloc.c @@ -248,7 +248,7 @@ get_chunk(void) /* Object free lists. Ith entry corresponds to objects */ /* of total size 2**i bytes. */ -AO_stack_t AO_free_list[LOG_MAX_SIZE+1]; +static AO_stack_t AO_free_list[LOG_MAX_SIZE+1]; /* Break up the chunk, and add it to the object free list for */ /* the given size. We have exclusive access to chunk. */ -- cgit v1.2.1