1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-16 09:06:18 +02:00

Add missing static keywords.

Interface functions should be marked static since they can only be called through the IoFilter interface.
This commit is contained in:
David Steele
2020-02-27 12:21:53 -05:00
parent 3f77a83e73
commit 8f5337a136

View File

@@ -38,7 +38,7 @@ typedef struct GzDecompress
/***********************************************************************************************************************************
Macros for function logging
***********************************************************************************************************************************/
String *
static String *
gzDecompressToLog(const GzDecompress *this)
{
return strNewFmt(
@@ -63,7 +63,7 @@ OBJECT_DEFINE_FREE_RESOURCE_END(LOG);
/***********************************************************************************************************************************
Decompress data
***********************************************************************************************************************************/
void
static void
gzDecompressProcess(THIS_VOID, const Buffer *compressed, Buffer *uncompressed)
{
THIS(GzDecompress);
@@ -108,7 +108,7 @@ gzDecompressProcess(THIS_VOID, const Buffer *compressed, Buffer *uncompressed)
/***********************************************************************************************************************************
Is decompress done?
***********************************************************************************************************************************/
bool
static bool
gzDecompressDone(const THIS_VOID)
{
THIS(const GzDecompress);
@@ -125,7 +125,7 @@ gzDecompressDone(const THIS_VOID)
/***********************************************************************************************************************************
Is the same input required on the next process call?
***********************************************************************************************************************************/
bool
static bool
gzDecompressInputSame(const THIS_VOID)
{
THIS(const GzDecompress);