From bab7a01f9971b7b45e384141f1777fc86853937e Mon Sep 17 00:00:00 2001 From: David Steele Date: Thu, 19 Aug 2021 11:00:17 -0400 Subject: [PATCH] Mark contextTop static. This variable is not used outside of the memContext module so no need for it to be extern'd. --- src/common/memContext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/memContext.c b/src/common/memContext.c index 636e97df3..ed3732c0c 100644 --- a/src/common/memContext.c +++ b/src/common/memContext.c @@ -74,7 +74,7 @@ Top context The top context always exists and can never be freed. All other contexts are children of the top context. The top context is generally used to allocate memory that exists for the life of the program. ***********************************************************************************************************************************/ -MemContext contextTop = {.state = memContextStateActive, .name = "TOP"}; +static MemContext contextTop = {.state = memContextStateActive, .name = "TOP"}; /*********************************************************************************************************************************** Memory context stack types