diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-11-07 20:42:41 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-11-07 20:42:41 +0300 |
commit | 19f3020a34c3bb35a62dd69b7aee1c0465629ce8 (patch) | |
tree | 1177694890dc03c5d08ab5db48cdeba642da8702 /src | |
parent | ff7796083c1eb7d39542e5fd9a947fd040c67dea (diff) | |
download | libatomic_ops-19f3020a34c3bb35a62dd69b7aee1c0465629ce8.tar.gz |
Hide AO_free_list symbol
* src/atomic_ops_malloc.c (AO_free_list): Make it static.
Diffstat (limited to 'src')
-rw-r--r-- | src/atomic_ops_malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |