pgbackrest.git / summary / log / commit / refs

commit    a63e87ea2cd0efbf9e9b78adccdf7285a6876b3b
Author:   David Steele <david@pgmasters.net>
Date:     Fri Dec 23 07:06:35 2022 +0000

    Move function prototype to a better location in the header.


src/common/io/read.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/io/read.h b/src/common/io/read.h index 52866bb0a..e2e333220 100644 --- a/src/common/io/read.h +++ b/src/common/io/read.h @@ -69,6 +69,9 @@ ioReadLine(IoRead *const this) return ioReadLineParam(this, false); } +// Read varint-128 encoding +uint64_t ioReadVarIntU64(IoRead *this); + // Are there bytes ready to read immediately? There are no guarantees on how much data is available to read but it must be at least // one byte. typedef struct IoReadReadyParam @@ -77,9 +80,6 @@ typedef struct IoReadReadyParam bool error; // Error when read not ready } IoReadReadyParam; -// Read varint-128 encoding -uint64_t ioReadVarIntU64(IoRead *this); - #define ioReadReadyP(this, ...) \ ioReadReady(this, (IoReadReadyParam){VAR_PARAM_INIT, __VA_ARGS__}) [parent: 56b55f81e894]