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:
parent
8bb0b28455
commit
3369440eef
@ -284,7 +284,7 @@ pgWalSegmentSizeCheck(unsigned int pgVersion, unsigned int walSegmentSize)
|
||||
}
|
||||
|
||||
/**********************************************************************************************************************************/
|
||||
PgControl
|
||||
static PgControl
|
||||
pgControlFromBuffer(const Buffer *controlFile)
|
||||
{
|
||||
FUNCTION_LOG_BEGIN(logLevelTrace);
|
||||
|
@ -126,7 +126,6 @@ Functions
|
||||
***********************************************************************************************************************************/
|
||||
// Get info from pg_control
|
||||
PgControl pgControlFromFile(const Storage *storage);
|
||||
PgControl pgControlFromBuffer(const Buffer *controlFile);
|
||||
|
||||
// Get the control version for a PostgreSQL version
|
||||
uint32_t pgControlVersion(unsigned int pgVersion);
|
||||
|
Loading…
Reference in New Issue
Block a user