1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Make pgControlFromBuffer() static.

This function is no longer used externally.
This commit is contained in:
David Steele 2021-07-09 09:07:41 -04:00
parent 8bb0b28455
commit 3369440eef
2 changed files with 1 additions and 2 deletions

View File

@ -284,7 +284,7 @@ pgWalSegmentSizeCheck(unsigned int pgVersion, unsigned int walSegmentSize)
} }
/**********************************************************************************************************************************/ /**********************************************************************************************************************************/
PgControl static PgControl
pgControlFromBuffer(const Buffer *controlFile) pgControlFromBuffer(const Buffer *controlFile)
{ {
FUNCTION_LOG_BEGIN(logLevelTrace); FUNCTION_LOG_BEGIN(logLevelTrace);

View File

@ -126,7 +126,6 @@ Functions
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
// Get info from pg_control // Get info from pg_control
PgControl pgControlFromFile(const Storage *storage); PgControl pgControlFromFile(const Storage *storage);
PgControl pgControlFromBuffer(const Buffer *controlFile);
// Get the control version for a PostgreSQL version // Get the control version for a PostgreSQL version
uint32_t pgControlVersion(unsigned int pgVersion); uint32_t pgControlVersion(unsigned int pgVersion);