1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Mark contextTop static.

This variable is not used outside of the memContext module so no need for it to be extern'd.
This commit is contained in:
David Steele 2021-08-19 11:00:17 -04:00
parent bb1ca1d309
commit bab7a01f99

View File

@ -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